Additional information

For a full explanation of the parameters that you can pass to Get-ADPrincipalGroupMembership or Remove-ADPrincipalGroupMembership, at the Active Directory module command prompt, type Get-Help Get-ADPrincipalGroupMembership –detailed or Get-Help Remove-ADPrincipalGroupMembership –detailed, and then press ENTER.