O R G A N I C / F E R T I L I Z E R: powershell: generating a range of test users

Aug 17, 2010

powershell: generating a range of test users

this was a request for creating 500 user accounts, sequentially numbered.

1..500 | % { new-qaduser -parentcontainer 'OU=myOU,DC=myDomain,DC=COM' -name "MyTestUser$_" -samaccountname "MyTestUser$_" -UserPassword 'MyTestPassword' -email "MyTestUser$_@myDomain.com" }