Probably like many of you, I quite often need to create test environment for dealing with a range of test scenarios. Invariably, when building a test environment, a question comes up on how to populate Active Directory with test accounts to simulate production environment. Sometimes you may be able to perform restore from production environment or get an export from HR or other systems. But in many cases (for example performance testing, product functionality testing, backup and recovery etc) you don’t really need to have an exact replica of your production environment, so it would be very useful to have a script that could generate a simple but realistic Active Directory environment based on some random names.
Read More...