PrepAway - Latest Free Exam Questions & Answers

Which cmdlet should you run?

Your network contains an Active Directory forest named contoso.com. The forest contains a single
domain. The domain contains two domain controllers named DC1 and DC2 that run Windows Server
2012 R2.

The domain contains a user named User1 and three global security groups named Group1, Group2
and, Group3.
You need to add User1 to Group1, Group2, and Group3.
Which cmdlet should you run?

PrepAway - Latest Free Exam Questions & Answers

A.
Add-AdPrincipalGroupMembership

B.
Install-AddsDomainController

C.
Install-WindowsFeature

D.
Install-AddsDomain

E.
Rename-AdObject

F.
Set-AdAccountControl

G.
Set-AdGroup

H.
Set-User

Explanation:
The Add-ADPrincipalGroupMembershipcmdlet adds a user, group, service account, or computer as a
new member to one or more Active Directory groups.
References:
http://technet.microsoft.com/en-us/library/ee617203.aspx
http://technet.microsoft.com/en-us/library/hh974723.aspx


Leave a Reply