Showing posts with label multiple ad accounts. Show all posts
Showing posts with label multiple ad accounts. Show all posts

Tuesday, 13 March 2012

Easily Create Multiple Test Accounts with Powershell

I was asked to create 400 test accounts for application testing. Not a problem...
1..400 | ForEach-Object {New-QADUser -ParentContainer Domain123.local/TestOU -Name "TestUser$_" -SamAccountName "TestUser$_" -UserPassword "Password1" | Enable-QADUser}