Flipkart

Saturday, February 22, 2020

Creating new users with the dsadd command

Adding a new user with the dsadd command with Command Prompt


Distinguished name (DN) for the new AD object, and is required.

Cn - comman name
Dc - Domain controller
Fn - First name
In - Last name
Pwd - Password


dsadd user “cn=Tech Bir,cn=Users,dc=kb,dc=com” -samid techbir -upn techbir@kb.com -fn Tech -ln Bir -display “Tech Bir” -disabled no -pwd “PassW0rd” -mustchpwd yes


After successfully user created. You can check by find users as like below.


See users properties and all details.





No comments:

Post a Comment