API Reference
Command
Restore-ADXGpoAclDefault
Restores the default GPO ACL (owner + default DACL). TODO: Implement via ADPlayground.Gpo.GpoAclUpdater. Reference: GPOZaurr Restore-ADXACLDefault (name aligns here).
Examples
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
- Domain where the target Group Policy Object resides.
- Id Guid
- GUID of the Group Policy Object to restore the default ACL on.
Outputs
System.Boolean