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

Namespace GPOZaurr

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

Remarks

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

Authored help example

EXAMPLE 1

PS >


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

EXAMPLE 2

PS >


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

EXAMPLE 3

PS >


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

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-GPOZaurrNetLogon [-ExcludeDomains <String[]>] [-ExtendedForestInformation <IDictionary>] [-Forest <String>] [-IncludeDomains <String[]>] [<CommonParameters>]
#
Parameter set: Default

Parameters

ExcludeDomains String[] optionalposition: namedpipeline: False
Specifies an array of domains to exclude from GPO retrieval.
ExtendedForestInformation IDictionary optionalposition: namedpipeline: False
Specifies additional forest information to include in the output.
Forest String optionalposition: namedpipeline: Falsealiases: ForestName
Specifies the forest name to retrieve GPO information from.
IncludeDomains String[] optionalposition: namedpipeline: Falsealiases: Domain, Domains
Specifies an array of domains to include in GPO retrieval.
Get-GPOZaurrNetLogon [-ExcludeDomains <String[]>] [-ExtendedForestInformation <IDictionary>] [-Forest <String>] [-IncludeDomains <String[]>] [-OwnerOnly] [<CommonParameters>]
#
Parameter set: OwnerOnly

Parameters

ExcludeDomains String[] optionalposition: namedpipeline: False
Specifies an array of domains to exclude from GPO retrieval.
ExtendedForestInformation IDictionary optionalposition: namedpipeline: False
Specifies additional forest information to include in the output.
Forest String optionalposition: namedpipeline: Falsealiases: ForestName
Specifies the forest name to retrieve GPO information from.
IncludeDomains String[] optionalposition: namedpipeline: Falsealiases: Domain, Domains
Specifies an array of domains to include in GPO retrieval.
OwnerOnly SwitchParameter optionalposition: namedpipeline: False
Specifies whether to include only GPOs with identified owners.
Get-GPOZaurrNetLogon [-ExcludeDomains <String[]>] [-ExtendedForestInformation <IDictionary>] [-Forest <String>] [-IncludeDomains <String[]>] [-SkipOwner] [<CommonParameters>]
#
Parameter set: SkipOwner

Parameters

ExcludeDomains String[] optionalposition: namedpipeline: False
Specifies an array of domains to exclude from GPO retrieval.
ExtendedForestInformation IDictionary optionalposition: namedpipeline: False
Specifies additional forest information to include in the output.
Forest String optionalposition: namedpipeline: Falsealiases: ForestName
Specifies the forest name to retrieve GPO information from.
IncludeDomains String[] optionalposition: namedpipeline: Falsealiases: Domain, Domains
Specifies an array of domains to include in GPO retrieval.
SkipOwner SwitchParameter optionalposition: namedpipeline: False
Specifies whether to skip checking the owner of GPOs.