I had to do this once, the problem was getting the names to use.  You could export live names for your list, or… make them up – but for thousands of users that’s tough.  I went to some genealogy lists online (there are loads of these), grabbed long lists of first and last names, put them in Excel, staggered the first and last names so one had more (like 100 first names and 107 last names) and then did drag and fill down the sheet.  I think I ended up making about 10,000 unique users in a couple of minutes, and I used a batch file with FOR /F against the resulting text file, calling NET USER /ADD.  Not as elegant as using a script, but I didn’t know about scripting back then.  Still it served my purposes well.

Rich

 


From: Abhishek Sharma [mailto:[EMAIL PROTECTED]
Sent: Friday, December 05, 2003 5:44 AM
To: '[EMAIL PROTECTED]'
Subject: RE: [ActiveDir] Stuffing the AD

 

HI,

 

 

This is contains the code of the Active Dir Cookbook from Oreily.There is a script for creating a large no. of users, perhaps with a little bit of change ur work will be done.

 

 

take care,

Abhishek Sharma.

 

-----Original Message-----
From: Oliver Marshall [mailto:[EMAIL PROTECTED]
Sent: Friday, December 05, 2003 4:52 PM
To: [EMAIL PROTECTED]
Subject: [ActiveDir] Stuffing the AD

Does anyone have a script or something to hand that will allow me to create thousands of users in my AD structure? I need to create a massive AD database so that I can do a few tests, but to add them by hand will take ages.

 

Olly

-------APPLEBEE'S INTERNATIONAL, INC. CONFIDENTIALITY NOTICE------- PRIVILEGED / CONFIDENTIAL INFORMATION may be contained in this message or any attachments. This information is strictly confidential and may be subject to attorney-client privilege. This message is intended only for the use of the named addressee. If you are not the intended recipient of this message, unauthorized forwarding, printing, copying, distribution, or using such information is strictly prohibited and may be unlawful. If you have received this in error, you should kindly notify the sender by reply e-mail and immediately destroy this message. Unauthorized interception of this e-mail is a violation of federal criminal law. Applebee's International, Inc. reserves the right to monitor and review the content of all messages sent to and from this e-mail address. Messages sent to or from this e-mail address may be stored on the Applebee's International, Inc. e-mail system.

Reply via email to