11 lines
462 B
PowerShell
11 lines
462 B
PowerShell
# It all starts with a single line of powershell code.
|
|
|
|
Write-Warning -Message ("Secret direct: " + $Secret:ndgov_svcitdvmhpe.username)
|
|
|
|
$vaultcred = Get-ITDPassword -Title "IaaS Automation Account" -UserName "ndgov\svcitdiaasauto"
|
|
|
|
Write-Warning -Message ("Secret vault: " + $vaultcred.username)
|
|
|
|
$vaultcred2 = Get-ITDPassword -Title "VMware iLO Service Account" -UserName "ndgov\svcitdvmhpe"
|
|
|
|
Write-Warning -Message ("Secret vault: " + $vaultcred2.username) |