Skip to main content
Version: 2.3.0

AD-GPOREP-05 - GPOs without enterprise domain controllers count should be retrievable

Overviewโ€‹

Control Typeโ€‹

Detective

Test-MtAdGpoNoEnterpriseDcCountโ€‹

Counts GPO reports that do not include Enterprise Domain Controllers.

Why This Test Mattersโ€‹

  • Detective control: flags GPO reports missing Enterprise Domain Controllers which could impact domain-wide policy targeting.

Security Recommendationโ€‹

  • Verify whether Enterprise DCs should be included; adjust policy accordingly.

How the Test Worksโ€‹

  • Retrieves GPO state, enumerates GPO reports, and counts those without Enterprise Domain Controllers.
  • Test-MtAdGpoNoEnterpriseDcCount.

Test Metadataโ€‹

FieldValue
Test IDAD-GPOREP-05
SeverityUnknown
SuiteActive Directory
CategoryAD.GPOState
PowerShell testTest-MtAdGpoNoEnterpriseDcCount
TagsAD, AD-GPOREP-05, AD.GPOState

Sourceโ€‹

  • Pester test: tests/ad/gpostate/Test-MtAdGpoNoEnterpriseDcCount.Tests.ps1
  • PowerShell source: powershell/public/ad/gpostate/Test-MtAdGpoNoEnterpriseDcCount.ps1