Which of the following should you do? You want to create a user - ProProfs Discuss
Topics-
Products +
     

Which of the following should you do? You want to create a user object with a single command.



A. Use the Create-Item cmdlet.
B. Use the SetInfo method.
C. Use the Create method of an OU.
D. Use the Dsadd command.
Asked by DIAZ on Sep 08, 2016

This question is part of

MS 70-640

+ AnswerRequest Answer
...

1 Answer

John Smith

John Smith

Answered on Sep 08, 2016

Use the dsadd command.-a. incorrect: there is no native cmdlet in windows powershell for creating users.b. incorrect: the setinfo method commits a new user and its properties to active directory, but it must be used in conjunction with commands that create the object and its attributes. it cannot be used as a single command.c. incorrect: a container, such as an ou or domain, provides a create method to create objects of a specified class, but until the setinfo method is used, the object is not saved to active directory. therefore, create is not sufficient as a single command.d. correct: the dsadd command can create a user with a single command.
 Reply

Search for Google images
Select a recommended image
Upload from your computer
Search for Google images
Select a recommended image
Upload from your computer
Search for Google images
Select a recommended image
Upload from your computer

Email Sent
We have sent an email to your address "" with instructions to reset your password.