Sunday, 27 September 2009

Add a user in Active Directory using command line

Access your domain contoller and type the following format to add your user :

dsadd user "cn=Joe Bloggs, ou=IT Admins, dc= Your Domain name , dc=com" -samid joebloggs -upn info@YourDomain.com -fn Joe -ln Bloggs -display "Joe Bloggs" -pwd Pa$$w0rd -desc "Systems Administrator"

*ou = is the name of Organisational Unit you will be adding the user to.

No comments:

Post a Comment