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

Backup-GPOZaurr

Namespace GPOZaurr

Provides Backup functionality to Group Policies

Remarks

Provides Backup functionality to Group Policies

Examples

Authored help example

EXAMPLE 1

PS >


$GPOSummary = Backup-GPOZaurr -BackupPath "$Env:UserProfile\Desktop\GPO" -Verbose -Type All
$GPOSummary | Format-Table # only if you want to display output of backup
        

EXAMPLE 2

PS >


$GPOSummary = Backup-GPOZaurr -BackupPath "$Env:UserProfile\Desktop\GPO" -Verbose -Type All -BackupDated
$GPOSummary | Format-Table # only if you want to display output of backup
        

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

Backup-GPOZaurr [-BackupDated] [-BackupPath <String>] [-ExcludeDomains <String[]>] [-ExtendedForestInformation <IDictionary>] [-Forest <String>] [-IncludeDomains <String[]>] [-LimitProcessing <Int32>] [-Type <Empty|Unlinked|Disabled|All>] [<CommonParameters>]
#
Parameter set: All Parameter Sets

Parameters

BackupDated SwitchParameter optionalposition: namedpipeline: False
Whether cmdlet should created Dated folders for executed backup or not. Keep in mind it's not nessecary and two backups made to same folder have their dates properly tagged
BackupPath String optionalposition: 6pipeline: False
Path where to keep the backup
ExcludeDomains String[] optionalposition: 3pipeline: False
Exclude domain from search, by default whole forest is scanned
ExtendedForestInformation IDictionary optionalposition: 5pipeline: False
Ability to provide Forest Information from another command to speed up processing
Forest String optionalposition: 2pipeline: Falsealiases: ForestName
Target different Forest, by default current forest is used
IncludeDomains String[] optionalposition: 4pipeline: Falsealiases: Domain, Domains
Include only specific domains, by default whole forest is scanned
LimitProcessing Int32 optionalposition: 0pipeline: False
Limits amount of GPOs that are backed up
Type String[] optionalposition: 1pipeline: Falsevalues: 4
Provides a way to backup only Empty or Unlinked GPOs. The default is All.
Possible values: Empty, Unlinked, Disabled, All