Welcome to TechNet Blogs Sign in | Join | Help

Filling up Active Directory (AD) with some test data

I don't recall if I've ever posted a little batch file I use to populate Active Directory (AD) with some test data.  Kevin asked me for it earlier this morning so I thought it might be of benefit to the rest of you for your test labs, VMs, etc.  Here's the code from the batch file.  Be sure to rename the extension to run it as a batch file.  Duh. Grin.

Get it @ http://msinetpub.vo.llnwd.net/d1/keithcombs/downloads/Add_Users_and_OUs.txt

Published Wednesday, November 26, 2008 9:44 AM by Keith Combs

Comment Notification

If you would like to receive an email when updates are made to this post, please register here

Subscribe to this post's comments using RSS

Comments

Wednesday, November 26, 2008 5:51 PM by rob

# re: Filling up Active Directory (AD) with some test data

In case you really want to test AD, I wrote a small C# command line app to generate random names using the top 1000 first name (male and female) and top 1000 last names according to the last census.  It can gen as many as you have hard drive space for.

Saturday, November 29, 2008 9:42 AM by Matt Simmons

# re: Filling up Active Directory (AD) with some test data

Wow, nice job saving people a lot of time.

It wouldn't be too hard to generate a script to remove the same users and OUs, but what are the commands to do it? I've only very recently gotten into Windows admin stuff, so I'm woefully ignorant on the subject

Leave a Comment

(required) 
required 
(required) 
 
Page view tracker