PowerShell: Get-Credential from a file
October 4th, 2016 by Charlie Russel and tagged Get-Credential, PowerShell, PSCredential, SecureString
If you routinely have to log into a separate domain, it can be a nuisance to always have to run Get-Credential. Plus writing scripts with a -Credential parameter is a nuisance because if you call Get-Credential in the script, it will always prompt you. I run a separate lab network here, with an Active […]
Posted in Annoyances, Network Administration, PowerShell, PSCredential | Comments Off on PowerShell: Get-Credential from a file