Files
syno-scripts/Powershell/Shutdown_V3/Modules/Credentials.md
T

164 B
Executable File

function Get-CredentialFromFile { param([string]$Path)

if (!(Test-Path $Path)) {
    throw "Missing credential file: $Path"
}

Import-Clixml -Path $Path

}