# Repair-GPOZaurrBrokenLink

Removes any link to GPO that no longer exists. Review available syntax, parameters, pipeline guidance, and reference details in GPOZaurr API Reference.

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`

Removes any link to GPO that no longer exists.

## Syntax

```
Repair-GPOZaurrBrokenLink
[[-ExcludeDomains] <String[]>]
[[-ExtendedForestInformation] <IDictionary>]
[[-Forest] <String>]
[[-IncludeDomains] <String[]>]
[[-LimitProcessing] <Int32>]
[<CommonParameters>]
```

[#](#method-repair-gpozaurrbrokenlink-string-idictionary-string-string-int32)

Parameter set: `All Parameter Sets`

## Description

It scans all site, organizational unit or domain root making sure every single link that may be linking to GPO that doesn't exists anymore is gone.

## Examples

### Example 1

```powershell
Repair-GPOZaurrBrokenLink -Verbose -LimitProcessing 1 -WhatIf
```

### Example 2

```powershell
Repair-GPOZaurrBrokenLink -Verbose -IncludeDomains ad.evotec.pl -LimitProcessing 1 -WhatIf
```

## Parameters

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

Exclude domain from search, by default whole forest is scanned

**-ExtendedForestInformation IDictionary optionalposition: 3**

Ability to provide Forest Information from another command to speed up processing

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

Target different Forest, by default current forest is used

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

Include only specific domains, by default whole forest is scanned

**-LimitProcessing Int32 optionalposition: 4**

Allows to specify maximum number of items that will be fixed in a single run. It doesn't affect amount of GPOs processed

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