# Get-GPOZaurrInheritance

Retrieves inheritance information for Group Policy Objects (GPOs) within specified Organizational Units (OUs).

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 inheritance information for Group Policy Objects (GPOs) within specified Organizational Units (OUs).

## Syntax

```
Get-GPOZaurrInheritance
[[-ExcludeDomains] <String[]>]
[[-Exclusions] <String[]>]
[[-ExtendedForestInformation] <IDictionary>]
[[-Forest] <String>]
[-IncludeBlockedObjects]
[[-IncludeDomains] <String[]>]
[-IncludeExcludedObjects]
[-IncludeGroupPoliciesForBlockedObjects]
[-OnlyBlockedInheritance]
[<CommonParameters>]
```

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

Parameter set: `All Parameter Sets`

## Description

This function retrieves and displays inheritance information for GPOs within specified OUs. It provides details on blocked inheritance, excluded objects, and group policies associated with blocked objects.

## Examples

### Example 1

```powershell
$Objects = Get-GPOZaurrInheritance -IncludeBlockedObjects -IncludeExcludedObjects -OnlyBlockedInheritance -Exclusions $ExcludedOU
$Objects | Format-Table
```

## Parameters

**-ExcludeDomains String[] optionalposition: 2**

Specifies the domain to exclude from the search. By default, the entire forest is scanned.

**-Exclusions String[] optionalposition: 0**

Specifies the OUs approved by IT to be excluded. You can provide OUs by canonical name or distinguishedName.

**-ExtendedForestInformation IDictionary optionalposition: 4**

Allows providing Forest Information from another command to speed up processing.

**-Forest String optionalposition: 1aliases: ForestName**

Specifies the target forest. By default, the current forest is used.

**-IncludeBlockedObjects SwitchParameter optional**

Specifies whether to include OUs with blocked inheritance. By default, this is disabled.

**-IncludeDomains String[] optionalposition: 3aliases: Domain, Domains**

Specifies specific domains to include. By default, the entire forest is scanned.

**-IncludeExcludedObjects SwitchParameter optional**

Specifies whether to show excluded objects. By default, this is disabled.

**-IncludeGroupPoliciesForBlockedObjects SwitchParameter optional**

Specifies whether to include Group Policies for blocked objects. By default, this is disabled.

**-OnlyBlockedInheritance SwitchParameter optional**

Specifies whether to show only OUs with blocked inheritance.

## 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:AE5DBA1DE7184CD50600FD69DB659CB0232B107DD9C32BFDE898481F76D06995 -->
