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}

No comments:

Post a Comment