Skip to content

Instantly share code, notes, and snippets.

@gregjhogan
Created August 29, 2017 21:42
Show Gist options
  • Select an option

  • Save gregjhogan/da4f80bd4b8bc460978f981a339660d7 to your computer and use it in GitHub Desktop.

Select an option

Save gregjhogan/da4f80bd4b8bc460978f981a339660d7 to your computer and use it in GitHub Desktop.
Generate Password
Add-Type -AssemblyName System.Web
[System.Web.Security.Membership]::GeneratePassword(32, 8)
# https://msdn.microsoft.com/en-us/library/system.web.security.membership.generatepassword%28v=vs.110%29.aspx?f=255&MSPPError=-2147217396
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment