Created
November 4, 2018 15:04
-
-
Save bobalob/2585ad38d92b9c1ea3c956ab008b4c34 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Store the password in a SecureString | |
$Credential = Get-Credential -Message "Enter the Azure Account Password" -UserName "Anything" | |
$EncodedPassword = $Credential.Password | ConvertFrom-SecureString | |
$EncodedPassword | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment