49.7k views
0 votes
Which command allows us to change the membership of an AD group?

1) add-member
2) change-member
3) modify-group
4) update-group

1 Answer

6 votes

Final answer:

The correct command to change the membership of an AD group is Add-ADGroupMember, used in PowerShell to add various account types to an AD group. The options provided in the question are incorrect.

Step-by-step explanation:

The command that allows you to change the membership of an Active Directory (AD) group is Add-ADGroupMember. This PowerShell cmdlet adds one or more users, groups, service accounts, or computers to an AD group. If you wish to remove a member from a group, you would use the Remove-ADGroupMember cmdlet instead. Note that none of the options presented in the question (add-member, change-member, modify-group, update-group) are correct. When using these cmdlets, make sure you have the necessary permissions to modify group membership in AD.

User Prakash Chennupati
by
8.0k points