TestimoX

API Reference

Command

Set-ADXGpoPermission

Namespace ADPlayground.PowerShell
Outputs
System.Boolean

Sets (replaces) GPO DACL entries to a desired state.

Examples

Authored help example

Example 1


$acl = @( [ADPlayground.Gpo.GpoAclEntry]::Allow('CONTOSO\\GpoEditors','Edit') ); Set-ADXGpoPermission -Domain contoso.com -Id '{GUID}' -Acl $acl
        

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

Set-ADXGpoPermission -Acl <GpoAclEntry[]> -Domain <string> -Id <Guid> [<CommonParameters>]
#

Parameters

Acl GpoAclEntry[] requiredposition: namedpipeline: false
Desired ACL entries to apply (replaces existing according to service behavior).
Domain string requiredposition: namedpipeline: false
DNS domain name where the GPO resides.
Id Guid requiredposition: namedpipeline: false
GPO GUID (groupPolicyContainer objectGuid).

Outputs

System.Boolean