Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
For PowerShell 5.1 and older, convert secure strings back to plain text
function ConvertFrom-SecureStringToPlainText ([System.Security.SecureString]$SecureString) {
New-Alias -Name s2p -Value ConvertFrom-SecureStringToPlainText
Copy link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment