Project

GPOZaurr

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

Stars 1,256
Forks 120
Open issues 15
PowerShell Gallery downloads 421,558
Release v1.1.11
Language: PowerShell Updated: 2026-10-30
Command

Restore-GPOZaurr

Module
GPOZaurr

Restores Group Policy Objects (GPOs) from a specified backup folder.

Syntax

Restore-GPOZaurr
[-BackupFolder] <String>
[[-DisplayName] <String>]
[[-Domain] <String>]
[[-NewDisplayName] <String>]
[-SkipBackupSummary]
[<CommonParameters>]
#
Parameter set: All Parameter Sets

Description

This function allows restoring GPOs with the option to provide a new display name for the GPO.

Examples

Example 1

Restore-GPOZaurr -BackupFolder 'C:\GPOBackups' -DisplayName 'TestGPO'

Example 2

Restore-GPOZaurr -BackupFolder 'C:\GPOBackups' -DisplayName 'TestGPO' -NewDisplayName 'NewTestGPO' -Domain 'example.com'

Parameters

-BackupFolder String requiredposition: 0
The path to the folder containing the GPO backups.
-DisplayName String optionalposition: 1aliases: Name
The display name of the GPO to be restored.
-Domain String optionalposition: 3
(Optional) The domain name where the GPO should be restored.
-NewDisplayName String optionalposition: 2
(Optional) The new display name for the restored GPO.
-SkipBackupSummary SwitchParameter optional
(Switch) Skip displaying the backup summary information.

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.