# Get-GPOZaurrPermissionConsistency

Retrieves information about Group Policy Objects (GPOs) and checks permission consistency across domains.

Project

GPOZaurr

GPOZaurr helps inspect, report on, and remediate Group Policy environments with PowerShell.

[View on GitHub](https://github.com/EvotecIT/GPOZaurr) [Visit Website](#) [Releases](https://github.com/EvotecIT/GPOZaurr/releases/tag/v1.1.10) [Changelog](#) [Get package](https://www.powershellgallery.com/packages/GPOZaurr/1.1.9)

Stars **1,257**

Forks **121**

Open issues **15**

PowerShell Gallery downloads **421,558**

Release **v1.1.11**

Language: PowerShell Updated: 2026-10-30

Command 

**Module**

`GPOZaurr`

Retrieves information about Group Policy Objects (GPOs) and checks permission consistency across domains.

## Syntax

```
Get-GPOZaurrPermissionConsistency
[-ExcludeDomains <String[]>]
[-ExtendedForestInformation <IDictionary>]
[-Forest <String>]
[-IncludeDomains <String[]>]
[-IncludeGPOObject]
[-Type <Consistent|Inconsistent|All>]
[-VerifyInheritance]
[<CommonParameters>]
```

[#](#method-get-gpozaurrpermissionconsistency-string-idictionary-string-string-switchparameter-string-switchparameter)

Parameter set: `Type`

```
Get-GPOZaurrPermissionConsistency
[-ExcludeDomains <String[]>]
[-ExtendedForestInformation <IDictionary>]
[-Forest <String>]
[-GPOName <String>]
[-IncludeDomains <String[]>]
[-IncludeGPOObject]
[-VerifyInheritance]
[<CommonParameters>]
```

[#](#method-get-gpozaurrpermissionconsistency-string-idictionary-string-string-string-switchparameter-switchparameter)

Parameter set: `GPOName`

```
Get-GPOZaurrPermissionConsistency
[-ExcludeDomains <String[]>]
[-ExtendedForestInformation <IDictionary>]
[-Forest <String>]
[-GPOGuid <String>]
[-IncludeDomains <String[]>]
[-IncludeGPOObject]
[-VerifyInheritance]
[<CommonParameters>]
```

[#](#method-get-gpozaurrpermissionconsistency-string-idictionary-string-string-string-switchparameter-switchparameter-2)

Parameter set: `GPOGUID`

## Description

The Get-GPOZaurrPermissionConsistency function retrieves information about GPOs and checks permission consistency across domains. It can filter by GPO name, GPO GUID, or type of consistency. It also provides options to include/exclude specific domains and verify inheritance.

## Examples

### Example 1

```powershell
Get-GPOZaurrPermissionConsistency -GPOName "TestGPO" -Forest "Contoso" -IncludeDomains @("DomainA", "DomainB") -Type "Consistent"
Retrieves permission consistency information for the GPO named "TestGPO" in the forest "Contoso" for domains "DomainA" and "DomainB" with consistent permissions.
```

### Example 2

```powershell
Get-GPOZaurrPermissionConsistency -GPOGuid "12345678-1234-1234-1234-1234567890AB" -Forest "Fabrikam" -Type "Inconsistent" -VerifyInheritance
Retrieves permission consistency information for the GPO with GUID "12345678-1234-1234-1234-1234567890AB" in the forest "Fabrikam" for all domains with inconsistent permissions and verifies inheritance.
```

## Parameters

**-ExcludeDomains String[] optional**

Specifies an array of domains to exclude from the search.

**-ExtendedForestInformation IDictionary optional**

Specifies additional information about the forest.

**-Forest String optionalaliases: ForestName**

Specifies the forest name to retrieve GPO information from.

**-IncludeDomains String[] optionalaliases: Domain, Domains**

Specifies an array of domains to include in the search.

**-IncludeGPOObject SwitchParameter optional**

Indicates whether to include the GPO object in the output.

**-Type String[] optionalsets: Type**

Specifies the type of consistency to check. Valid values are 'Consistent', 'Inconsistent', or 'All'.

Possible values: `Consistent`, `Inconsistent`, `All`

**-VerifyInheritance SwitchParameter optional**

Indicates whether to verify inheritance of permissions.

**-GPOName String optionalsets: GPOName**

Specifies the name of the GPO to retrieve.

**-GPOGuid String optionalaliases: GPOID, GUIDsets: GPOGUID**

Specifies the GUID of the GPO to retrieve.

## Common Parameters

This command supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable.

For more information, see [about_CommonParameters](https://learn.microsoft.com/powershell/module/microsoft.powershell.core/about/about_commonparameters).

Evotec API Reference Copyright 2026 Evotec Services

<!-- PowerForge markdown artifact sha256:E3A59FA78FFDFF7435330BEA463D3B8B7F46683D4266AB06597D2E8820986863 -->
