TestimoX

API Reference

Command

Restore-ADXGpoAclDefault

Namespace ADPlayground.PowerShell
Outputs
System.Boolean

Restores the default GPO ACL (owner + default DACL). TODO: Implement via ADPlayground.Gpo.GpoAclUpdater. Reference: GPOZaurr Restore-ADXACLDefault (name aligns here).

Examples

Authored help example

Example 1: Preview restoring the default ACL on the Default Domain Controllers Policy


Restore-ADXGpoAclDefault -Domain 'contoso.com' -Id '6AC1786C-016F-11D2-945F-00C04FB984F9' -WhatIf
        

Example 2: Restore a custom GPO ACL after accidental delegation changes


Restore-ADXGpoAclDefault -Domain 'contoso.com' -Id '11111111-2222-3333-4444-555555555555'
        

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-ADXGpoAclDefault -Domain <string> -Id <Guid> [<CommonParameters>]
#

Parameters

Domain string requiredposition: namedpipeline: false
Domain where the target Group Policy Object resides.
Id Guid requiredposition: namedpipeline: false
GUID of the Group Policy Object to restore the default ACL on.

Outputs

System.Boolean