API Reference
Command
Set-ADXACLInheritance
Sets the ACL inheritance state on an Active Directory security descriptor or entry.
Examples
Generated fallback example from parameter set 'By ADObject'.
Set-ADXACLInheritance -ADObject 'Value' -Enable $true
Generated fallback example from parameter set 'By Entry'.
Set-ADXACLInheritance -Entry 'Value' -Enable $true
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-ADXACLInheritance -Security <ActiveDirectorySecurity> -Enable <bool> [-RemoveInheritedAccessRules] [<CommonParameters>]#Parameter set:
By SecurityParameters
- Security ActiveDirectorySecurity
- ActiveDirectorySecurity instance to modify.
- Enable bool
- Enables inheritance when true; disables otherwise.
- RemoveInheritedAccessRules SwitchParameter
- Indicates whether inherited rules should be removed when disabling inheritance.
Set-ADXACLInheritance -Entry <DirectoryEntry> -Enable <bool> [-RemoveInheritedAccessRules] [<CommonParameters>]#Parameter set:
By EntryParameters
- Entry DirectoryEntry
- DirectoryEntry object to modify.
- Enable bool
- Enables inheritance when true; disables otherwise.
- RemoveInheritedAccessRules SwitchParameter
- Indicates whether inherited rules should be removed when disabling inheritance.
Set-ADXACLInheritance -ADObject <string> -Enable <bool> [-RemoveInheritedAccessRules] [<CommonParameters>]#Parameter set:
By ADObjectParameters
- ADObject string
- Distinguished name of the object to modify.
- Enable bool
- Enables inheritance when true; disables otherwise.
- RemoveInheritedAccessRules SwitchParameter
- Indicates whether inherited rules should be removed when disabling inheritance.