Scripts/Get-StoredCredentialPath.ps1
Function Get-StoredCredentialPath { If (!(Test-Path env:StoredCredentialPath)) { Write-Error "env:StoredCredentialPath does not exist. Run Set-StoredCredentialPath to setup" -ErrorAction Stop } Write-Host "env:StoredCredentialPath is set" -ForeGroundColor Yellow Write-Host "Credential Secrets are saved to $env:StoredCredentialPath" -ForeGroundColor Yellow } |