Created
August 12, 2018 15:06
-
-
Save noahpeltier/954b1f374ebf89bfb11bc42f4395162a 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
# This is a way to store your own credentials for backup or use in other scripts as a password manager | |
(Get-credential -Message "Please log in to continue").GetNetworkCredential() | Select UserName, Password | ft -AutoSize | out-host | |
#Out-Host can be anything really. The password is stored in plain text so you'd need to encript it as a pscredential or something for safety |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment