Prompt for Credentials $Credential = Get-Credential DetailsUse to create a credential object from a user prompt. Share this:Click to share on Twitter (Opens in new window)Click to share on Facebook (Opens in new window) Credentials Security | credential password security string