Find Empty Ous
find_empty_ousIdentify Active Directory organizational units with no nested sub-OUs to support hygiene audits; optionally scope the search to a parent OU using a base DN.
Instructions
Find organizational units with no nested sub-OU (hygiene/audit).
Matches OUs whose ou attribute has no children. Pass base (a DN) to
scope to a parent OU.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| base | No | ||
| limit | No | ||
| domain | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |