$users = @("a", "b", "c") ForEach ($user in $users){ $Passwords = ([System.Web.Security.Membership]::GeneratePassword(10,3))