Skip to content

Instantly share code, notes, and snippets.

@breakersall
Created July 28, 2014 18:31
Show Gist options
  • Save breakersall/71479c9b68be425b8198 to your computer and use it in GitHub Desktop.
Save breakersall/71479c9b68be425b8198 to your computer and use it in GitHub Desktop.
Decode base 64 for unattend
From: http://blog.compower.org/2013/08/05/recover-the-non-plain-password-from-your-unattend-xml/
$pass = "string"
PS> [System.Text.Encoding]::Unicode.GetString([System.Convert]::FromBase64String($pass))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment