# Get-GPOZaurrMissingFiles

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

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 missing files in Group Policy Objects (GPOs) within a specified forest.

## Syntax

```
Get-GPOZaurrMissingFiles
[-BrokenOnly]
[[-ExcludeDomains] <String[]>]
[[-ExtendedForestInformation] <IDictionary>]
[[-Forest] <String>]
[[-GPOGUID] <String[]>]
[[-GPOName] <String[]>]
[[-IncludeDomains] <String[]>]
[<CommonParameters>]
```

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

Parameter set: `All Parameter Sets`

## Description

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

## Examples

### Example 1

```powershell
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

```powershell
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.

## Parameters

**-BrokenOnly SwitchParameter optional**

Indicates whether to only display GPOs with missing files.

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

Specifies an array of domains to exclude from the query.

**-ExtendedForestInformation IDictionary optionalposition: 3**

Specifies additional information about the forest.

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

Specifies the name of the forest to query for GPO information.

**-GPOGUID String[] optionalposition: 5**

Specifies the GUID of the GPO to retrieve information for.

**-GPOName String[] optionalposition: 4aliases: Name**

Specifies the name of the GPO to retrieve information for.

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

Specifies an array of domains to include in the query.

## 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:0AF93B87FAC90E34AD52AD6C0D2AC80B9EB765DF7EBE771E7D1A927A8C6129CD -->
