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

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

Restores Group Policy Objects (GPOs) from a specified backup folder. This function allows restoring GPOs with the option to provide a new display name for the GPO.

Examples

Authored help example

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.