Adding/removing members from another forest or domain to groups in Active Directory

Adding/removing members belonging to the same domain from a group is very simple using AD Powershell cmdlets. All you have to do is pass an identifier (either samAccountName, distinguishedName, securityIdentifier or GUID) of the member and group to one of the membership cmdlets: · Add-ADGroupMember · Remove-ADGroupMember · Add-ADPrincipalGroupMembership · Remove-ADPrincipalGroupMembership Example: C:\PS> Add-ADGroupMember SvcAccPSOGroup…

18