PowerShell Script to Auto generate Random Simple String Passwords
Script: cls $Private:OFS = "" $PasswordLength = 8 $InclChars = ‘abcdefghkmnprstuvwxyzABCDEFGHKLMNPRSTUVWXYZ123456789’ $RandomNums = 1..$PasswordLength | ForEach-Object { Get-Random -Maximum $InclChars.length } $RandomPassowrd = [String]$InclChars[$RandomNums] Write-Host $RandomPassowrd Output: cAbfE1GN Ea5kMabu spx3sFW7 Script:
Read more