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

Restore-GPOZaurr

Namespace GPOZaurr

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

Remarks

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

PS >


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

EXAMPLE 2

PS >


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

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

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

Parameters

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