164 B
Executable File
164 B
Executable File
function Get-CredentialFromFile { param([string]$Path)
if (!(Test-Path $Path)) {
throw "Missing credential file: $Path"
}
Import-Clixml -Path $Path
}