Evotec

Project

GPOZaurr

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

Stars 1,166
Forks 115
Open issues 16
PowerShell Gallery downloads 417,764
Release v1.1.9
Language: PowerShell Updated: 2026-04-11

API Reference

Function

Get-GPOZaurrFilesPolicyDefinition

Aliases: Get-GPOZaurrFilesPolicyDefinitions
Namespace GPOZaurr
Aliases
Get-GPOZaurrFilesPolicyDefinitions

Retrieves policy definitions for Group Policy Objects (GPOs) within specified domains.

Remarks

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

Examples

Authored help example

EXAMPLE 1

PS >


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.
        

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.

Syntax

Get-GPOZaurrFilesPolicyDefinition [-ExcludeDomains <String[]>] [-ExtendedForestInformation <IDictionary>] [-Forest <String>] [-IncludeDomains <String[]>] [-Signature] [<CommonParameters>]
#
Parameter set: All Parameter Sets

Parameters

ExcludeDomains String[] optionalposition: 1pipeline: False
Specifies an array of domains to exclude from the search.
ExtendedForestInformation IDictionary optionalposition: 3pipeline: False
Specifies additional forest information to include in the output.
Forest String optionalposition: 0pipeline: Falsealiases: ForestName
Specifies the forest name to retrieve GPO policy definitions from.
IncludeDomains String[] optionalposition: 2pipeline: Falsealiases: Domain, Domains
Specifies an array of domains to include in the search.
Signature SwitchParameter optionalposition: namedpipeline: False
Indicates whether to retrieve digital signature information for policy files.