Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Select an option

  • Save IT-Delinquent/9c897daa8f7dce35263d7e0cb7411346 to your computer and use it in GitHub Desktop.

Select an option

Save IT-Delinquent/9c897daa8f7dce35263d7e0cb7411346 to your computer and use it in GitHub Desktop.
PowerShellGenerateSecurePassword
function New-RandomPassword(){
Add-Type -AssemblyName 'System.Web'
return [System.Web.Security.Membership]::GeneratePassword(10,5)
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment