What command should you run?

Your network contains one Active Directory forest named contoso.com. The forest contains a single domain. All
domain controllers run Windows Server 2012 R2.
You need to modify the membership of a group named Group1 to include two users named User1 and User2.
What command should you run? To answer, select the appropriate options in the answer area.
Select three.

Your network contains one Active Directory forest named contoso.com. The forest contains a single domain. All
domain controllers run Windows Server 2012 R2.
You need to modify the membership of a group named Group1 to include two users named User1 and User2.
What command should you run? To answer, select the appropriate options in the answer area.
Select three.

A.
Use command Add-GroupMember

B.
Use command Add-ADGroupMember

C.
As first parameter use Group1

D.
As first parameter use User1, User2

E.
As first parameter use {User1, User2}

F.
As second parameter use Group1

G.
As second parameter use User1, User2

H.
As second parameter use {User1, User2}

Explanation:
Correct answer is: Add-ADGroupMember Group1 User1, User2
Add-ADGroupMember adds one or more members to an Active Directory group.
Example: Command Prompt: C:\\PS>Add-ADGroupMember SvcAccPSOGroup SQL01, SQL02
Adds the user accounts with SamAccountNames SQL01, SQL02 to the group SvcAccPSOGroup.
Add-ADGroupMember
https://technet.microsoft.com/en-us/library/ee617210.aspx



Leave a Reply 0

Your email address will not be published. Required fields are marked *