Secure Password Usage in PowerShell
Posted in Windows Powershell | 1 Comment | 2,137 views | 31/07/2013 16:48
If you need to store a secure password in PowerShell, you can use this process.
First, you should create a hash from your password:
After that you can use $StandarString output in your scripts. Just you need to convert it back to secure string:
That’s it. I hope that helps.
Leave a Reply