Skip to content

Instantly share code, notes, and snippets.

@iAnatoly
Created August 4, 2016 17:33
Show Gist options
  • Save iAnatoly/a9a8c7fc30c5b5b075aa67d0122c2280 to your computer and use it in GitHub Desktop.
Save iAnatoly/a9a8c7fc30c5b5b075aa67d0122c2280 to your computer and use it in GitHub Desktop.
One-liner to generate password in PowerShell
[reflection.assembly]::LoadWithPartialName("System.Web")
[System.Web.Security.Membership]::GeneratePassword(32,4)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment