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

Save-GPOZaurrFiles

Module GPOZaurr

Exports GPO XML data to files and saves it to a given path

Syntax

Save-GPOZaurrFiles [-DeleteExisting] [[-ExcludeDomains] <String[]>] [[-ExtendedForestInformation] <IDictionary>] [[-Forest] <String>] [[-GPOPath] <String[]>] [[-IncludeDomains] <String[]>] [<CommonParameters>]
#
Parameter set: All Parameter Sets

Examples

Authored help example

EXAMPLE 1

Save-GPOZaurrFiles -GPOPath 'C:\Support\GitHub\GpoZaurr\Ignore\GPOExportEvotec' -DeleteExisting -Verbose

Parameters

-DeleteExisting SwitchParameter optional
Delete existing files before saving new ones
-ExcludeDomains String[] optionalposition: 1
Exclude domain from search, by default whole forest is scanned
-ExtendedForestInformation IDictionary optionalposition: 3
Ability to provide Forest Information from another command to speed up processing
-Forest String optionalposition: 0aliases: ForestName
Target different Forest, by default current forest is used
-GPOPath String[] optionalposition: 4
Path where to save XML files from GPOReport
-IncludeDomains String[] optionalposition: 2aliases: Domain, Domains
Include only specific domains, by default whole forest is scanned

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.