Created
June 19, 2017 20:13
-
-
Save yaplex/715d112a912346a8ccf9768568fb601c to your computer and use it in GitHub Desktop.
This file contains hidden or 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
$secpasswd = ConvertTo-SecureString "MyPassword" -AsPlainText -Force | |
$mycreds = New-Object System.Management.Automation.PSCredential (".\MYUser", $secpasswd) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment