Get-Credential
The Get-Credential cmdlet creates a credential object for a specified user name and password. You can use the credential object in security operations. Beginning in Windows PowerShell 3.0, you can use the Message parameter to specify a customized message on the dialog box that prompts the user for their name and password. The Get-Credential cmdlet … More Get-Credential