Powershell: Create 1000 Test User Accounts

For those looking for populate a test domain — oooh with say a 1000 users with distinct user attribute values — here is a script that I think will do you just fine:    Import-Module ActiveDirectory  $total = 1000 for ($userIndex=0; $userIndex -lt $total; $userIndex++)  {   $userID = “{0:0000}” -f ($userIndex + 1)  $userName = “test.user$userID”   Write-Host…

4