2.8 KiB
external help file, Module Name, online version, schema
| external help file | Module Name | online version | schema |
|---|---|---|---|
| GPOZaurr-help.xml | GPOZaurr | https://github.com/EvotecIT/GPOZaurr | 2.0.0 |
Restore-GPOZaurr
SYNOPSIS
Restores Group Policy Objects (GPOs) from a specified backup folder.
SYNTAX
__AllParameterSets
Restore-GPOZaurr [-BackupFolder] <string> [[-DisplayName] <string>] [[-NewDisplayName] <string>] [[-Domain] <string>] [-SkipBackupSummary] [<CommonParameters>]
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
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'
PARAMETERS
-BackupFolder
The path to the folder containing the GPO backups.
Type: String
Parameter Sets: __AllParameterSets
Aliases:
Possible values:
Required: True
Position: 0
Default value: None
Accept pipeline input: False
Accept wildcard characters: True
-DisplayName
The display name of the GPO to be restored.
Type: String
Parameter Sets: __AllParameterSets
Aliases: Name
Possible values:
Required: False
Position: 1
Default value: None
Accept pipeline input: False
Accept wildcard characters: True
-Domain
(Optional) The domain name where the GPO should be restored.
Type: String
Parameter Sets: __AllParameterSets
Aliases:
Possible values:
Required: False
Position: 3
Default value: None
Accept pipeline input: False
Accept wildcard characters: True
-NewDisplayName
(Optional) The new display name for the restored GPO.
Type: String
Parameter Sets: __AllParameterSets
Aliases:
Possible values:
Required: False
Position: 2
Default value: None
Accept pipeline input: False
Accept wildcard characters: True
-SkipBackupSummary
(Switch) Skip displaying the backup summary information.
Type: SwitchParameter
Parameter Sets: __AllParameterSets
Aliases:
Possible values:
Required: False
Position: named
Default value: False
Accept pipeline input: False
Accept wildcard characters: True
CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.
INPUTS
None
OUTPUTS
None
RELATED LINKS
- None