Command
Restore-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 SetsDescription
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
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
- The path to the folder containing the GPO backups.
- -DisplayName String
- The display name of the GPO to be restored.
- -Domain String
- (Optional) The domain name where the GPO should be restored.
- -NewDisplayName String
- (Optional) The new display name for the restored GPO.
- -SkipBackupSummary SwitchParameter
- (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.