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

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.

This question is part of

MS 70-640

+ AnswerRequest Answer
...

1 Answer

John Smith

John Smith

Answered on Sep 08, 2016

1. 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.

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.