ps/Modules/Cole.PowerShell.Developer/Public/Set-RepoCheckpointPath.ps1
2023-05-30 22:51:22 -07:00

16 lines
379 B
PowerShell

function Set-RepoCheckpointPath {
<#
.SYNOPSIS
Set the path used by the Checkpoint-AllAvailableRepos and other places
.PARAMETER Path
This path does not need to exist, it will get created if used.
#>
[CmdletBinding()]
[OutputType([string])]
param(
$Path
)
Set-EnvironmentVariable -Name "Checkpoint_DefaultPath" -Value $Path -StoreName User
}