Windows PowerShell
Copyright (C) 2015 Microsoft Corporation. All rights reserved.
PS C:\Users\joshua> $a, $b = 32, 6
PS C:\Users\joshua> Add-Type -AssemblyName System.Web
PS C:\Users\joshua> [System.Web.Security.Membership]::GeneratePassword($a,$b)
qN@PPlZz66m!L[Rs@x]s[hdD}[G%i-f{
PS C:\Users\joshua>

PS
or
Windows PowerShell
Copyright (C) 2015 Microsoft Corporation. All rights reserved.
PS C:\Users\joshua> $a, $b = 32, 4
PS C:\Users\joshua> Add-Type -AssemblyName System.Web
PS C:\Users\joshua> (1..100) |foreach {[System.Web.Security.Membership]::GeneratePassword($a,$b)} | Get-Random
efwhr$2no}sB7=*l@0q)r+pK4hwrxvN)
PS C:\Users\joshua>
PPS
for teh record
PS C:\Users\joshua> (1..100) |foreach {[System.Web.Security.Membership]::GeneratePassword($a,$b)}
JG_zLD%)4f2PrQ>6Z*SdOO#Hc-3i=oMf
v=:JW4Qf$HrTg*yb{;q+ga-dSlM|j.Y!
H$rf0{XnbOwvX!9h?#:qSM.gPx!Pp*d!
2khp{J9Z4_&*(/!kUMJ5ggYvT49/6SSs
92xU%llJ{:%Z)jpZ:2]DLlRH272?>I{=
[^sp^k0P#g^3e!5eDY.Uy)x67Ng4V54e
6v]NL]!Cini;Z+P$95!n7Xi9w&CY_SE1
QD7!Vi8=bY9dQr)=r?*pKImkm9x7GM%{
^.1eAv^vha_9P9uPzPe.$O^l9Rj{tkNK
_%IzT:ZR6tVD?k8H8Y4?@#0B$0k4yn6@
$NoB:/sS|tKi^9&y8}U-O7mW%y+L3raz
P>0DZL0k*f[NlXou@+l&Fviulv$zg-qk
G{T{{G9jI*mzNkLOs4CZg%O2[M^}JCy7
homGih/gAYeA-Q]P/+!Y4/Sk!OT!*64h
}frOQ:n.Tp+Z}hjKB3+_;;E[;}o+XtPa
my(3d!omj88+Z-9y@Q3xZ)TQj$Xda]a=
NltjHD:S7Q5#l*!NhjI+9f-K;K*7kqZQ
1JYBx@)hr=(nd2l+yi%ej+6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