TestimoX

API Reference

Command

Restore-ADXGpo

Namespace ADPlayground.PowerShell
Outputs
ADPlayground.Gpo.GpoRef

Restores a GPO from a COM‑free backup manifest.

Examples

Authored help example

Example 1


Restore-ADXGpo -Path C:\\Backups\\GPOs\\DefaultDomainPolicy
        

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-ADXGpo -Path <string> [-Domain <string>] [-NewDisplayName <string>] [-NoRestoreDefaultAcl] [-RestoreLinks] [-RestoreSecurityDescriptor] [-SkipMissingWmiFilterLink] [-VerifySysvolHashes] [<CommonParameters>]
#

Parameters

Path string requiredposition: namedpipeline: false
File system path to the target resource.
Domain string optionalposition: namedpipeline: false
Override the target domain DNS name. When omitted, uses the domain stored in the manifest.
NewDisplayName string optionalposition: namedpipeline: false
Optional new display name for the restored GPO.
NoRestoreDefaultAcl SwitchParameter optionalposition: namedpipeline: false
When set, disables applying a default ACL baseline after restore.
RestoreLinks SwitchParameter optionalposition: namedpipeline: false
When set, re-creates GPO links from the backup manifest.
RestoreSecurityDescriptor SwitchParameter optionalposition: namedpipeline: false
When set, restores the GPO security descriptor (owner + DACL) from the backup manifest when present.
SkipMissingWmiFilterLink SwitchParameter optionalposition: namedpipeline: false
When set, skips restoring the WMI filter link when the referenced filter cannot be resolved in the target domain.
VerifySysvolHashes SwitchParameter optionalposition: namedpipeline: false
When set and SYSVOL hashes are present in the manifest, verifies SHA256 hashes of extracted SYSVOL files.

Outputs

ADPlayground.Gpo.GpoRef