- Adding Users to AD in 2k3
- Posted by Swifty_SySoP on December 9th, 2003
Hello,
I have a question about server 2k3's (enterprise) AD. I have a
script to create 1,000 users in AD which works fine. However it only
gives generic names, like user0001. Is there any possible way for the
script to add users using names from an Access database, (any other
type of database/document)? For example, I need to create 30 user
accounts and I have an Access database with their login names. Is
there any way to modify the script or create a new one to
automatically rename the 30 accounts? If anyone could help me shed
light on this problem I'd greatly appreciate it. Thank you for your
time.
- James Haynes
haynesc@bf.naocsc.org
- Posted by Jerold Schulman on December 10th, 2003
On 9 Dec 2003 15:51:11 -0800, haynesc@bf.noacsc.org (Swifty_SySoP) wrote:
Yes.
You can create a .csv file and parse it with the FOR command.
Also, see tip 7329 in the 'Tips & Tricks' at http://www.jsiinc.com
Jerold Schulman
Windows: General MVP
JSI, Inc.
http://www.jsiinc.com
- Posted by Swifty_SySoP on December 11th, 2003
Thank you very much for your help. I just have one more question: how
do i parse a FOR command? I am very unfamiliar with command prompts
and something tells me they'll be necessary in the future. Any help
would be appreciated. Thanks again!
- James Haynes
- haynesc@bf.noacsc.org