API Reference
Function
Restore-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
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 SetsParameters
- 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.