# Get-GPOZaurrRedirect

Command to detect if GPOs have correct path in SYSVOL, or someone changed it manually.

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`

Command to detect if GPOs have correct path in SYSVOL, or someone changed it manually.

## Syntax

```
Get-GPOZaurrRedirect
[-DateFrom <DateTime>]
[-DateProperty <WhenCreated|WhenChanged>]
[-DateRange <String>]
[-DateTo <DateTime>]
[-ExcludeDomains <String[]>]
[-ExtendedForestInformation <IDictionary>]
[-Forest <String>]
[-IncludeDomains <String[]>]
[<CommonParameters>]
```

[#](#method-get-gpozaurrredirect-datetime-string-string-datetime-string-idictionary-string-string)

Parameter set: `Default`

```
Get-GPOZaurrRedirect
[-DateFrom <DateTime>]
[-DateProperty <WhenCreated|WhenChanged>]
[-DateRange <String>]
[-DateTo <DateTime>]
[-ExcludeDomains <String[]>]
[-ExtendedForestInformation <IDictionary>]
[-Forest <String>]
[-GPOName <String>]
[-IncludeDomains <String[]>]
[<CommonParameters>]
```

[#](#method-get-gpozaurrredirect-datetime-string-string-datetime-string-idictionary-string-string-string)

Parameter set: `GPOName`

```
Get-GPOZaurrRedirect
[-DateFrom <DateTime>]
[-DateProperty <WhenCreated|WhenChanged>]
[-DateRange <String>]
[-DateTo <DateTime>]
[-ExcludeDomains <String[]>]
[-ExtendedForestInformation <IDictionary>]
[-Forest <String>]
[-GPOGuid <String>]
[-IncludeDomains <String[]>]
[<CommonParameters>]
```

[#](#method-get-gpozaurrredirect-datetime-string-string-datetime-string-idictionary-string-string-string-2)

Parameter set: `GPOGUID`

## Examples

### Example 1

```powershell
Get-GPOZaurrRedirect | Format-Table
```

## Parameters

**-DateFrom DateTime optional**

Provide a date from which to start the search, by default the last X days are used

**-DateProperty String[] optional**

Choose a date property. It can be WhenCreated or WhenChanged or both. By default whenCreated is used for comparison purposes

Possible values: `WhenCreated`, `WhenChanged`

**-DateRange String optional**

Provide a date range to search for, by default the last X days are used

Possible values: `PastHour`, `CurrentHour`, `PastDay`, `CurrentDay`, `PastMonth`, `CurrentMonth`, `PastQuarter`, `CurrentQuarter`, `Last14Days`, `Last21Days`, `Last30Days`, `Last7Days`, `Last3Days`, `Last1Days`

**-DateTo DateTime optional**

Provide a date to which to end the search, by default the last X days are used

**-ExcludeDomains String[] optional**

Exclude domain from search, by default whole forest is scanned

**-ExtendedForestInformation IDictionary optional**

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

**-Forest String optionalaliases: ForestName**

Target different Forest, by default current forest is used

**-IncludeDomains String[] optionalaliases: Domain, Domains**

Include only specific domains, by default whole forest is scanned

**-GPOName String optionalsets: GPOName**

Provide GPO name to search for. By default command returns all GPOs

**-GPOGuid String optionalaliases: GPOID, GUIDsets: GPOGUID**

Provide GPO GUID to search for. By default command returns all GPOs

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