Project

GPOZaurr

GPOZaurr helps inspect, report on, and remediate Group Policy environments with PowerShell.

Stars 1,250
Forks 119
Open issues 15
PowerShell Gallery downloads 421,558
Release v1.1.11
Language: PowerShell Updated: 2026-10-09
Command

Get-GPOZaurrOwner

Module GPOZaurr

Gets owners of GPOs from Active Directory and SYSVOL

Syntax

Get-GPOZaurrOwner [-ADAdministrativeGroups <IDictionary>] [-ApprovedOwner <String[]>] [-ExcludeDomains <String[]>] [-ExtendedForestInformation <IDictionary>] [-Forest <String>] [-IncludeDomains <String[]>] [-IncludeSysvol] [-SkipBroken] [<CommonParameters>]
#
Parameter set: Default
Get-GPOZaurrOwner [-ADAdministrativeGroups <IDictionary>] [-ApprovedOwner <String[]>] [-ExcludeDomains <String[]>] [-ExtendedForestInformation <IDictionary>] [-Forest <String>] [-GPOName <String>] [-IncludeDomains <String[]>] [-IncludeSysvol] [-SkipBroken] [<CommonParameters>]
#
Parameter set: GPOName
Get-GPOZaurrOwner [-ADAdministrativeGroups <IDictionary>] [-ApprovedOwner <String[]>] [-ExcludeDomains <String[]>] [-ExtendedForestInformation <IDictionary>] [-Forest <String>] [-GPOGuid <String>] [-IncludeDomains <String[]>] [-IncludeSysvol] [-SkipBroken] [<CommonParameters>]
#
Parameter set: GPOGUID

Examples

Authored help example

EXAMPLE 1

Get-GPOZaurrOwner -Verbose -IncludeSysvol

EXAMPLE 2

Get-GPOZaurrOwner -Verbose -IncludeSysvol -SkipBroken

Parameters

-ADAdministrativeGroups IDictionary optional
Ability to provide AD Administrative Groups from another command to speed up processing
-ApprovedOwner String[] optionalaliases: Exclusion, Exclusions
Ability to provide different owner (non administrative that still is approved for use)
-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
-IncludeSysvol SwitchParameter optional
Includes Owner from SYSVOL as well
-SkipBroken SwitchParameter optional
Doesn't display GPOs that have no SYSVOL content (orphaned GPOs)
-GPOName String optionalsets: GPOName
Name of GPO. By default all GPOs are returned
-GPOGuid String optionalaliases: GPOID, GUIDsets: GPOGUID
GUID of GPO. By default all GPOs are returned

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.