TestimoX

API Reference

Command

Remove-ADXGpoPermission

Namespace ADPlayground.PowerShell
Outputs
System.Boolean

Removes an ACE from a GPO DACL.

Examples

Authored help example

Example 1: Remove an edit delegation from the Default Domain Policy


Remove-ADXGpoPermission -Domain 'contoso.com' -Id '31B2F340-016D-11D2-945F-00C04FB984F9' -Identity 'CONTOSO\GG-GPO-Editors'
        

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

Remove-ADXGpoPermission -Domain <string> -Id <Guid> -Identity <string> [<CommonParameters>]
#

Parameters

Domain string requiredposition: namedpipeline: false
DNS domain name where the GPO resides.
Id Guid requiredposition: namedpipeline: false
GPO GUID (groupPolicyContainer objectGuid).
Identity string requiredposition: namedpipeline: false
Account to remove permissions from (name or SID).

Outputs

System.Boolean