CmdID / PowerShell / Cmdlets / Get
Get-GPPermission
Gets the permission level for one or more security principals on a specified GPO. Windows Server PowerShell reference
From the Windows Server PowerShell reference 7 parameters Its page in the reference
Parameters
-AllIndicates that the cmdlet gets the permission level for each user, group, or computer that has permissions on the GPO.-DomainName, -DomainSpecifies the domain for this cmdlet.-Guid, -IDSpecifies the GPO from which to retrieve the permission level by its globally unique identifier (GUID).-Name, -DisplayNameSpecifies the GPO from which to retrieve the permission level by its display name.-Server, -DCSpecifies the name of the domain controller that this cmdlet contacts to complete the operation.-TargetNameSpecifies the name of the security principal for which to get the permission level.-TargetTypeThe type of security principal for which to get the permission level.