Add-Type
-AssemblyName
System.Web
$PasswordLength
= 12
$SpecialCharCount
= 3
[System.Web.Security.Membership]
::GeneratePassword(
$PasswordLength
,
$SpecialCharCount
)
Add-Type
-AssemblyName
System.Web
$PasswordLength
= 12
$SpecialCharCount
= 3
[System.Web.Security.Membership]
::GeneratePassword(
$PasswordLength
,
$SpecialCharCount
)