CmdID / PowerShell / Cmdlets / Get
Get-ADPrincipalGroupMembership
Gets the Active Directory groups that have a specified user, computer, group, or service account. Windows Server PowerShell reference
From the Windows Server PowerShell reference 7 parameters Its page in the reference
Parameters
-AuthTypeSpecifies the authentication method to use.-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.-PartitionSpecifies the distinguished name of an Active Directory partition.-ResourceContextPartitionSpecifies the distinguished name of the partition of an AD or AD LDS instance to search.-ResourceContextServerSpecifies that the cmdlet return a list of groups that the user is a member of and that reside in the specified domain.-ServerThe default authentication method is Negotiate.