Friday, March 26, 2010

AD Scripting user creation

Script to use:


Dsadd user "cn=%1, ou=OUName, dc=YourDomain, dc=YourSuffix" -fn%2 =ln%3 -pwd password -mustchpwd yes


Excel Google Doc

Save Spread sheet as Formatted Text (Space Delimited)

Change .prn file to .bat after saved


Move to C:\ then run command from their.


Enjoy.

No comments:

Post a Comment