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-GPOZaurrMissingFiles

Namespace GPOZaurr

Retrieves information about missing files in Group Policy Objects (GPOs) within a specified forest.

Remarks

This function queries Active Directory for GPOs and checks for missing files within them. It provides detailed information about any errors found.

Examples

Authored help example

EXAMPLE 1

PS >


Get-GPOZaurrMissingFiles -Forest "example.com" -IncludeDomains "domain1", "domain2" -ExcludeDomains "domain3" -GPOName "GPO1"
        

Retrieves information about missing files in the GPO named "GPO1" within the "example.com" forest, including only domains "domain1" and "domain2" while excluding "domain3".

EXAMPLE 2

PS >


Get-GPOZaurrMissingFiles -Forest "example.com" -IncludeDomains "domain1", "domain2" -GPOGUID "12345678-1234-1234-1234-1234567890AB" -BrokenOnly
        

Retrieves information about GPOs with missing files in the "example.com" forest, including only domains "domain1" and "domain2" for the GPO with the specified GUID, displaying only GPOs with missing 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.

Syntax

Get-GPOZaurrMissingFiles [-BrokenOnly] [-ExcludeDomains <String[]>] [-ExtendedForestInformation <IDictionary>] [-Forest <String>] [-GPOGUID <String[]>] [-GPOName <String[]>] [-IncludeDomains <String[]>] [<CommonParameters>]
#
Parameter set: All Parameter Sets

Parameters

BrokenOnly SwitchParameter optionalposition: namedpipeline: False
Indicates whether to only display GPOs with missing files.
ExcludeDomains String[] optionalposition: 1pipeline: False
Specifies an array of domains to exclude from the query.
ExtendedForestInformation IDictionary optionalposition: 3pipeline: False
Specifies additional information about the forest.
Forest String optionalposition: 0pipeline: Falsealiases: ForestName
Specifies the name of the forest to query for GPO information.
GPOGUID String[] optionalposition: 5pipeline: False
Specifies the GUID of the GPO to retrieve information for.
GPOName String[] optionalposition: 4pipeline: Falsealiases: Name
Specifies the name of the GPO to retrieve information for.
IncludeDomains String[] optionalposition: 2pipeline: Falsealiases: Domain, Domains
Specifies an array of domains to include in the query.