Creates 1 or more randomly-generated strings of either static or variable length.
Just as the name of the cmdlet suggests, it generates as many random password as you want in either:
There’s even an option to specify what the 1st character will be in each password.
New-RandomPassword -PasswordLength 12
New-RandomPassword -MinimumLength 6 -MaximumLength 67
New-RandomPassword 15 -Count 5
rpas 68 3 -FirstCharacter %