API Reference
Command
Set-ADXACLAuditRule
Sets an audit rule on an Active Directory security descriptor or entry.
Examples
Generated fallback example from parameter set 'By ADObject'.
Set-ADXACLAuditRule -ADObject 'Value' -Identity 'Value' -Rights 'CreateChild' -AuditFlags 'Success'
Generated fallback example from parameter set 'By Entry'.
Set-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
Set-ADXACLAuditRule -Security <ActiveDirectorySecurity> -Identity <IdentityInfo> -Rights <CreateChild> -AuditFlags <Success|Failure> -Inheritance <All|Descendents|Children|SelfAndChildren> [<CommonParameters>]#Parameter set:
By SecurityParameters
- Security ActiveDirectorySecurity
- ActiveDirectorySecurity instance to modify.
- Identity IdentityInfo
- Identity to audit.
- Rights AclRights
- Rights to audit. 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
- Audit flags to apply. Possible values: None, Success, Failure
- Possible values:
Success,Failure - Inheritance AclInheritance
- Inheritance flags for the rule. Possible values: None, All, Descendents, Children, SelfAndChildren
- Possible values:
All,Descendents,Children,SelfAndChildren
Set-ADXACLAuditRule -Entry <DirectoryEntry> -Identity <IdentityInfo> -Rights <CreateChild> -AuditFlags <Success|Failure> -Inheritance <All|Descendents|Children|SelfAndChildren> [<CommonParameters>]#Parameter set:
By EntryParameters
- Entry DirectoryEntry
- DirectoryEntry object to modify.
- Identity IdentityInfo
- Identity to audit.
- Rights AclRights
- Rights to audit. 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
- Audit flags to apply. Possible values: None, Success, Failure
- Possible values:
Success,Failure - Inheritance AclInheritance
- Inheritance flags for the rule. Possible values: None, All, Descendents, Children, SelfAndChildren
- Possible values:
All,Descendents,Children,SelfAndChildren
Set-ADXACLAuditRule -ADObject <string> -Identity <IdentityInfo> -Rights <CreateChild> -AuditFlags <Success|Failure> -Inheritance <All|Descendents|Children|SelfAndChildren> [<CommonParameters>]#Parameter set:
By ADObjectParameters
- ADObject string
- Distinguished name of the object to modify.
- Identity IdentityInfo
- Identity to audit.
- Rights AclRights
- Rights to audit. 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
- Audit flags to apply. Possible values: None, Success, Failure
- Possible values:
Success,Failure - Inheritance AclInheritance
- Inheritance flags for the rule. Possible values: None, All, Descendents, Children, SelfAndChildren
- Possible values:
All,Descendents,Children,SelfAndChildren