# Get-GPOZaurrNetLogon

Retrieves information about Group Policy Objects (GPO) stored in the Netlogon and SYSVOL directories.

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 Group Policy Objects (GPO) stored in the Netlogon and SYSVOL directories.

## Syntax

```
Get-GPOZaurrNetLogon
[-ExcludeDomains <String[]>]
[-ExtendedForestInformation <IDictionary>]
[-Forest <String>]
[-IncludeDomains <String[]>]
[<CommonParameters>]
```

[#](#method-get-gpozaurrnetlogon-string-idictionary-string-string)

Parameter set: `Default`

```
Get-GPOZaurrNetLogon
[-ExcludeDomains <String[]>]
[-ExtendedForestInformation <IDictionary>]
[-Forest <String>]
[-IncludeDomains <String[]>]
[-OwnerOnly]
[<CommonParameters>]
```

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

Parameter set: `OwnerOnly`

```
Get-GPOZaurrNetLogon
[-ExcludeDomains <String[]>]
[-ExtendedForestInformation <IDictionary>]
[-Forest <String>]
[-IncludeDomains <String[]>]
[-SkipOwner]
[<CommonParameters>]
```

[#](#method-get-gpozaurrnetlogon-string-idictionary-string-string-switchparameter-2)

Parameter set: `SkipOwner`

## Description

The Get-GPOZaurrNetLogon function retrieves details about GPOs stored in the Netlogon and SYSVOL directories of specified domains within a forest. It provides information about file ownership, status, domain, extension, creation time, and more.

## Examples

### Example 1

```powershell
Get-GPOZaurrNetLogon -Forest "contoso.com" -IncludeDomains "domain1", "domain2"
Retrieves GPO information for the specified forest and domains.
```

### Example 2

```powershell
Get-GPOZaurrNetLogon -OwnerOnly
Retrieves GPO information only for GPOs with identified owners.
```

### Example 3

```powershell
Get-GPOZaurrNetLogon -SkipOwner
Retrieves GPO information while skipping the owner check.
```

## Parameters

**-ExcludeDomains String[] optional**

Specifies an array of domains to exclude from GPO retrieval.

**-ExtendedForestInformation IDictionary optional**

Specifies additional forest information to include in the output.

**-Forest String optionalaliases: ForestName**

Specifies the forest name to retrieve GPO information from.

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

Specifies an array of domains to include in GPO retrieval.

**-OwnerOnly SwitchParameter optionalsets: OwnerOnly**

Specifies whether to include only GPOs with identified owners.

**-SkipOwner SwitchParameter optionalsets: SkipOwner**

Specifies whether to skip checking the owner of 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:672C2A7887318A36D586C92BDC8949B0F56C17A2A048E06EC704DB162EC4D405 -->
