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

GPO linked OU count should be retrievable

AD-GPOL-06InfoActive DirectoryGroup Policy

Part of Active Directory · Active Directory · Group Policy · All checks

Run this check
Invoke-Maester -TestId AD-GPOL-06

Understanding the distribution of GPO links across Organizational Units is important for several security reasons:

  • Policy Coverage: Identifies OUs that may lack necessary security policies
  • Compliance Assessment: Helps ensure all organizational units receive appropriate policy coverage
  • Security Gaps: OUs without GPO links may rely solely on domain-level policies, potentially missing OU-specific security controls
  • Policy Management: Provides visibility into how broadly GPOs are deployed across the directory structure

Operational

Review OUs without GPO links to ensure:

  • They inherit appropriate policies from parent containers
  • They don’t require OU-specific security policies
  • Critical security settings are not being missed
  • Consider creating OU-specific policies for organizational units with unique security requirements

This test retrieves all Organizational Units from Active Directory and counts:

  • Total number of OUs in the domain
  • Number of OUs with GPO links (gPLink attribute is populated)
  • Number of OUs without GPO links

The gPLink attribute is checked to determine if any GPOs are linked to each OU.

  • Test-MtAdGpoLinkedCount - Counts distinct GPOs with links
  • Test-MtAdGpoUnlinkedTargetCount - Counts targets without GPO links
  • Test-MtAdComputerOUCount - Counts distinct OUs containing computers
Every attribute of this check
FieldValue
Test IDAD-GPOL-06
SeverityInfo
SuiteActive Directory
ProductActive Directory
FeatureGroup Policy
AreaInfrastructure hardening
Resource typeOrganizationalUnit
MITRE ATT&CKNone
PowerShell testTest-MtAdGpoLinkedOUCount
ServicesActiveDirectory
PermissionsActiveDirectory:Ldap:groupPolicyContainer.gPCFileSysPath:ReadProperty, ActiveDirectory:File:SYSVOL:Read