16 lines
379 B
PowerShell
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
|
||
|
}
|