CmdID / PowerShell / Cmdlets / Remove
Remove-ADPrincipalGroupMembership
Removes a member from one or more Active Directory groups. Windows Server PowerShell reference
From the Windows Server PowerShell reference 9 parameters Its page in the reference
Parameters
-AuthTypeSpecifies the authentication method to use.-Confirm, -cfPrompts you for confirmation before running the cmdlet.-CredentialSpecifies the user account credentials to use to perform this task.-IdentitySpecifies an Active Directory principal object by providing one of the following property values.-MemberOfSpecifies the Active Directory groups to remove a user, computer, or group to as a member.-PartitionSpecifies the distinguished name of an Active Directory partition.-PassThruReturns an object representing the item with which you are working.-ServerSpecifies the AD DS instance to connect to, by providing one of the following values for a corresponding domain name or directory server.-WhatIf, -wiShows what would happen if the cmdlet runs.