API Reference
Command
Restore-ADXGpo
Restores a GPO from a COM‑free backup manifest.
Examples
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
- File system path to the target resource.
- Domain string
- Override the target domain DNS name. When omitted, uses the domain stored in the manifest.
- NewDisplayName string
- Optional new display name for the restored GPO.
- NoRestoreDefaultAcl SwitchParameter
- When set, disables applying a default ACL baseline after restore.
- RestoreLinks SwitchParameter
- When set, re-creates GPO links from the backup manifest.
- RestoreSecurityDescriptor SwitchParameter
- When set, restores the GPO security descriptor (owner + DACL) from the backup manifest when present.
- SkipMissingWmiFilterLink SwitchParameter
- When set, skips restoring the WMI filter link when the referenced filter cannot be resolved in the target domain.
- VerifySysvolHashes SwitchParameter
- When set and SYSVOL hashes are present in the manifest, verifies SHA256 hashes of extracted SYSVOL files.
Outputs
ADPlayground.Gpo.GpoRef