Super quick password creator

$securePW = Add-Type -AssemblyName System.Web
[System.Web.Security.Membership]::GeneratePassword(12,4)

The above script generates a random password with a minimum of 12 characters and 4 special characters. Sweet!

Try it out! Adjust to suit your requirements.


Posted

in

,

by

Tags:

Comments

Leave a comment