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

Namespace GPOZaurr

Gets the list of GPOs created or updated in the last X number of days.

Remarks

Gets the list of GPOs created or updated in the last X number of days.

Examples

Authored help example

EXAMPLE 1

PS >


Get-GPOZaurrUpdates -DateRange Last14Days -DateProperty WhenCreated, WhenChanged -Verbose -IncludeDomains 'ad.evotec.pl' | Format-List
        

EXAMPLE 2

PS >


Get-GPOZaurrUpdates -DateRange Last14Days -DateProperty WhenCreated -Verbose | Format-Table
        

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-GPOZaurrUpdates [-DateProperty <WhenCreated|WhenChanged>] -DateRange <PastHour> [-ExcludeDomains <String[]>] [-ExtendedForestInformation <IDictionary>] [-Forest <String>] [-IncludeDomains <String[]>] [<CommonParameters>]
#
Parameter set: DateRange

Parameters

DateProperty String[] optionalposition: namedpipeline: Falsevalues: 2
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 requiredposition: namedpipeline: Falsevalues: 14
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
ExcludeDomains String[] optionalposition: namedpipeline: False
Exclude domain from search, by default whole forest is scanned
ExtendedForestInformation IDictionary optionalposition: namedpipeline: False
Ability to provide Forest Information from another command to speed up processing
Forest String optionalposition: namedpipeline: Falsealiases: ForestName
Target different Forest, by default current forest is used
IncludeDomains String[] optionalposition: namedpipeline: Falsealiases: Domain, Domains
Include only specific domains, by default whole forest is scanned
Get-GPOZaurrUpdates -DateFrom <DateTime> [-DateProperty <WhenCreated|WhenChanged>] -DateTo <DateTime> [-ExcludeDomains <String[]>] [-ExtendedForestInformation <IDictionary>] [-Forest <String>] [-IncludeDomains <String[]>] [<CommonParameters>]
#
Parameter set: Dates

Parameters

DateFrom DateTime requiredposition: namedpipeline: False
Provide a date from which to start the search, by default the last X days are used
DateProperty String[] optionalposition: namedpipeline: Falsevalues: 2
Choose a date property. It can be WhenCreated or WhenChanged or both. By default whenCreated is used for comparison purposes
Possible values: WhenCreated, WhenChanged
DateTo DateTime requiredposition: namedpipeline: False
Provide a date to which to end the search, by default the last X days are used
ExcludeDomains String[] optionalposition: namedpipeline: False
Exclude domain from search, by default whole forest is scanned
ExtendedForestInformation IDictionary optionalposition: namedpipeline: False
Ability to provide Forest Information from another command to speed up processing
Forest String optionalposition: namedpipeline: Falsealiases: ForestName
Target different Forest, by default current forest is used
IncludeDomains String[] optionalposition: namedpipeline: Falsealiases: Domain, Domains
Include only specific domains, by default whole forest is scanned