Home » Microsoft » 70-417 v.2 » What command should you run?
HOTSPOT
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 Groupl to include two users named User1 and User2.
What command should you run? To answer, select the appropriate options in the answer area.
Hot Area:
Correct Answer:
Explanation/Reference:
Explanation:
Box 1: Add-AdGroupMember
Box 2: Group1
Box 3: 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
References: https://technet.microsoft.com/en-us/library/ee617210.aspx