When planning a deployment for a number of software packages for scaling one method of balancing the number of users across a series of groups is commonly done via alphabetical groupings based upon the username. if(Get-Module -Name ActiveDirectory){} else{Import-Module ActiveDirectory} function CountUsers { param([String]$mychar) $mycount = (Get-ADUser -Filter {SAMAccountName -like $mychar} -SearchBase "OU=My Users,DC=LiquidObject,DC=com" | …