# Get-GPOZaurrFilesPolicyDefinition

Retrieves policy definitions for Group Policy Objects (GPOs) within specified 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 policy definitions for Group Policy Objects (GPOs) within specified domains.

## Syntax

```
Get-GPOZaurrFilesPolicyDefinition
[[-ExcludeDomains] <String[]>]
[[-ExtendedForestInformation] <IDictionary>]
[[-Forest] <String>]
[[-IncludeDomains] <String[]>]
[-Signature]
[<CommonParameters>]
```

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

Parameter set: `All Parameter Sets`

## Description

This function retrieves policy definitions for GPOs within specified domains. It collects information about policy files, including their attributes and digital signatures.

## Examples

### Example 1

```powershell
Get-GPOZaurrFilesPolicyDefinition -Forest "contoso.com" -IncludeDomains "domain1", "domain2" -ExcludeDomains "domain3" -Signature
Retrieves policy definitions for GPOs within the "contoso.com" forest, including domains "domain1" and "domain2" while excluding "domain3". Digital signature information is also retrieved.
```

## Parameters

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

Specifies an array of domains to exclude from the search.

**-ExtendedForestInformation IDictionary optionalposition: 3**

Specifies additional forest information to include in the output.

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

Specifies the forest name to retrieve GPO policy definitions from.

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

Specifies an array of domains to include in the search.

**-Signature SwitchParameter optional**

Indicates whether to retrieve digital signature information for policy files.

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