TestimoX

API Reference

Command

Remove-ADXACLAuditRule

Namespace ADPlayground.PowerShell
Inputs
System.DirectoryServices.ActiveDirectorySecurity System.DirectoryServices.DirectoryEntry System.String

Removes an audit rule from an Active Directory security descriptor or entry.

Examples

Generated fallback example

Generated fallback example from parameter set 'By ADObject'.


Remove-ADXACLAuditRule -ADObject 'Value' -Identity 'Value' -Rights 'CreateChild' -AuditFlags 'Success'
        

Generated fallback example from parameter set 'By Entry'.


Remove-ADXACLAuditRule -Entry 'Value' -Identity 'Value' -Rights 'CreateChild' -AuditFlags 'Success'
        

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-ADXACLAuditRule -Security <ActiveDirectorySecurity> -Identity <IdentityInfo> -Rights <CreateChild> -AuditFlags <Success|Failure> -Inheritance <All|Descendents|Children|SelfAndChildren> [<CommonParameters>]
#
Parameter set: By Security

Parameters

Security ActiveDirectorySecurity requiredposition: 0pipeline: true (ByValue, ByPropertyName)
ActiveDirectorySecurity instance to modify.
Identity IdentityInfo requiredposition: 1pipeline: false
Identity whose audit rule will be removed.
Rights AclRights requiredposition: 2pipeline: falsevalues: 16
Rights associated with the rule. Possible values: None, CreateChild, Delete, ReadControl, WriteDacl, WriteOwner, GenericRead, GenericWrite, GenericExecute, ListChildren, DeleteChild, DeleteTree, ReadProperty, WriteProperty, ExtendedRight, Self, GenericAll
Possible values: CreateChild, Delete, ReadControl, WriteDacl, WriteOwner, GenericRead, GenericWrite, GenericExecute, ListChildren, DeleteChild, DeleteTree, ReadProperty, WriteProperty, ExtendedRight, Self, GenericAll
AuditFlags AuditFlags requiredposition: 3pipeline: falsevalues: 2
Audit flags to match. Possible values: None, Success, Failure
Possible values: Success, Failure
Inheritance AclInheritance requiredposition: 4pipeline: falsevalues: 4
Inheritance flags to match. Possible values: None, All, Descendents, Children, SelfAndChildren
Possible values: All, Descendents, Children, SelfAndChildren
Remove-ADXACLAuditRule -Entry <DirectoryEntry> -Identity <IdentityInfo> -Rights <CreateChild> -AuditFlags <Success|Failure> -Inheritance <All|Descendents|Children|SelfAndChildren> [<CommonParameters>]
#
Parameter set: By Entry

Parameters

Entry DirectoryEntry requiredposition: 0pipeline: true (ByValue, ByPropertyName)
DirectoryEntry object to modify.
Identity IdentityInfo requiredposition: 1pipeline: false
Identity whose audit rule will be removed.
Rights AclRights requiredposition: 2pipeline: falsevalues: 16
Rights associated with the rule. Possible values: None, CreateChild, Delete, ReadControl, WriteDacl, WriteOwner, GenericRead, GenericWrite, GenericExecute, ListChildren, DeleteChild, DeleteTree, ReadProperty, WriteProperty, ExtendedRight, Self, GenericAll
Possible values: CreateChild, Delete, ReadControl, WriteDacl, WriteOwner, GenericRead, GenericWrite, GenericExecute, ListChildren, DeleteChild, DeleteTree, ReadProperty, WriteProperty, ExtendedRight, Self, GenericAll
AuditFlags AuditFlags requiredposition: 3pipeline: falsevalues: 2
Audit flags to match. Possible values: None, Success, Failure
Possible values: Success, Failure
Inheritance AclInheritance requiredposition: 4pipeline: falsevalues: 4
Inheritance flags to match. Possible values: None, All, Descendents, Children, SelfAndChildren
Possible values: All, Descendents, Children, SelfAndChildren
Remove-ADXACLAuditRule -ADObject <string> -Identity <IdentityInfo> -Rights <CreateChild> -AuditFlags <Success|Failure> -Inheritance <All|Descendents|Children|SelfAndChildren> [<CommonParameters>]
#
Parameter set: By ADObject

Parameters

ADObject string requiredposition: 0pipeline: true (ByValue, ByPropertyName)
Distinguished name of the object to modify.
Identity IdentityInfo requiredposition: 1pipeline: false
Identity whose audit rule will be removed.
Rights AclRights requiredposition: 2pipeline: falsevalues: 16
Rights associated with the rule. Possible values: None, CreateChild, Delete, ReadControl, WriteDacl, WriteOwner, GenericRead, GenericWrite, GenericExecute, ListChildren, DeleteChild, DeleteTree, ReadProperty, WriteProperty, ExtendedRight, Self, GenericAll
Possible values: CreateChild, Delete, ReadControl, WriteDacl, WriteOwner, GenericRead, GenericWrite, GenericExecute, ListChildren, DeleteChild, DeleteTree, ReadProperty, WriteProperty, ExtendedRight, Self, GenericAll
AuditFlags AuditFlags requiredposition: 3pipeline: falsevalues: 2
Audit flags to match. Possible values: None, Success, Failure
Possible values: Success, Failure
Inheritance AclInheritance requiredposition: 4pipeline: falsevalues: 4
Inheritance flags to match. Possible values: None, All, Descendents, Children, SelfAndChildren
Possible values: All, Descendents, Children, SelfAndChildren