Active Directory Batch File

dribgnikcom

Banned
Feb 21, 2002
221
0
0
Can someone point me to instructions on how to create a file to quickly create users?

I have all the names typed out like this:

USERNAME,PERSONS NAME

I have about 60 names so I need to do it in one shot through a batch file rather than using Windows 2000's fancy GUI which will take years.

Thanks
 

dribgnikcom

Banned
Feb 21, 2002
221
0
0
Ok so far I have this:

I want to add John Smith to the active directory and his username will be JSMITH and his account never expires and he cannot change the password:

"net user jsmith /add /fullname:"John Smith" /expires:never /passwordreq:no /passwordchg:no /domain"

Does this look ok to you?