My Own Scripting Games!
I haven’t had time to participate in the 2008 and I have kinda missed out. But alas… a need has come through for me.
This is what I am looking for
I need to create a Test AD environment. I don’t need to mimic a specific production AD, but more like all of them
I want an AD environment that has plenty of user/computer accounts and plenty of Groups. I also want a large number of OUs for testing Group Policy Scripts.
These need to be realistic numbers so here is the challenge I came up with (note, Quest tools are allowed!)
# A TestOU OU
# A TestComputers OU
# A TestUsers OU
# A TestGroups OU
# 10K OU’s Under TestOU
## Each of the 10k OUs will have 4 Child OUs
### Each OU should have 5 users Accounts and 5 Machines Accounts
# Create 500 Group Policies.
# Link 100 policies on the 10k Base OUs
# Create 2000 Users in the TestUser OU
# Create 2000 Computers in the TestComputer OU
# Find all the Users
# Create 2K Groups
## Add Even Numbered Users to Even Groups
## Add Odd Numbered Users to Odd Groups
I will post my solution as soon as I am done, but I would like other people’s thoughts so POST away!
tshell :: Feb.28.2008 :: Active Directory, All, Powershell, Scripting :: No Comments »

