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) →

Computer OU count should be retrievable

AD-COMP-07InfoActive DirectoryComputers

Part of Active Directory · Active Directory · Computers · All checks

Run this check
Invoke-Maester -TestId AD-COMP-07

The organizational structure of computer accounts reflects your Active Directory management maturity:

  • Management efficiency: Well-structured OUs enable targeted Group Policy and administrative delegation
  • Security boundaries: OUs can represent security zones with different policy requirements
  • Operational clarity: Clear structure makes troubleshooting and auditing easier
  • Compliance alignment: Many frameworks require logical organization of directory objects

A single flat structure (few OUs) or excessive fragmentation (many OUs with few computers) both indicate potential management challenges.

Operational

  • Design an OU structure that supports:
    • Geographic distribution (if applicable)
    • Functional separation (workstations, servers, administrative tiers)
    • Security policy boundaries
  • Avoid placing computers directly in the domain root
  • Ensure the structure supports your Group Policy design
  • Regularly review and consolidate underutilized OUs

This test analyzes all enabled computer accounts and counts the distinct organizational units (containers) where computers are located. It provides insight into the breadth of your OU structure.

  • Test-MtAdComputerPerOUAverage - Calculates the average computers per OU
  • Test-MtAdComputerInDefaultContainer - Identifies computers in the unmanaged default container
Every attribute of this check
FieldValue
Test IDAD-COMP-07
SeverityInfo
SuiteActive Directory
ProductActive Directory
FeatureComputers
AreaInfrastructure hardening
Resource typeOrganizationalUnit
MITRE ATT&CKNone
PowerShell testTest-MtAdComputerOUCount
ServicesActiveDirectory
PermissionsActiveDirectory:Ldap:computer:ReadProperty