Skip to content
Sponsor
3.0 preview2.3.0 stable

These docs describe the preview. Pick the version you run and every page marks what it doesn't have yet. Get the preview →
Maester 2.x docs (archived) →

OU at domain root count should be retrievable

AD-OU-02InfoActive DirectoryOrganizational units

Part of Active Directory · Active Directory · Organizational units · All checks

Run this check
Invoke-Maester -TestId AD-OU-02
  • The structure of Organizational Units at the domain root level reveals important information about your Active Directory organization and management approach.
  • Directory hierarchy: A large number of root-level OUs may indicate a flat structure that lacks organizational depth
  • Management complexity: Many root-level OUs can make the directory harder to navigate and manage
  • Delegation planning: Understanding root-level OUs helps with planning administrative delegation boundaries
  • Organizational alignment: The OU structure should reflect your organization’s logical structure
  • A well-designed OU hierarchy typically has fewer root-level OUs with meaningful nested structures beneath them, rather than many OUs all at the root level.

Operational

  • Consider implementing a hierarchical OU structure that:
    • Minimizes the number of OUs at the domain root (typically 5-10 major containers)
    • Groups related OUs under parent containers (e.g., by geography, department, or function)
    • Makes the directory easier to navigate and manage
    • Supports your Group Policy and delegation strategy
  • This test retrieves all Organizational Units from Active Directory and:
    • Identifies the domain’s distinguished name
    • Counts OUs that are direct children of the domain root
    • Lists all root-level OUs with their distinguished names
  • Test-MtAdOuOverlappingNameCount - Identifies OUs with duplicate names
  • Test-MtAdOuEmptyCount - Finds OUs that contain no objects
Every attribute of this check
FieldValue
Test IDAD-OU-02
SeverityInfo
SuiteActive Directory
ProductActive Directory
FeatureOrganizational units
AreaInfrastructure hardening
Resource typeOrganizationalUnit
MITRE ATT&CKNone
PowerShell testTest-MtAdOuAtDomainRootCount
ServicesActiveDirectory
PermissionsActiveDirectory:Ldap:domainDNS.distinguishedName:ReadProperty, ActiveDirectory:Ldap:organizationalUnit:ReadProperty