Created
May 23, 2015 13:52
-
-
Save rufflabs/7747faa01ee4a253f4f3 to your computer and use it in GitHub Desktop.
Converts a Secure String into plain text.
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
#$Secure = <your secure string> | |
$Plain = [Runtime.InteropServices.Marshal]::PtrToStringAuto([Runtime.InteropServices.Marshal]::SecureStringToBSTR($Secure)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment