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.
Related Testsโ
Test-MtAdGpoNoEnterpriseDcCount.
Related linksโ
- Microsoft Learn - Group Policy management
- ANSSI checkpoint: https://www.anssi.gouv.fr/
Test Metadataโ
| Field | Value |
|---|---|
| Test ID | AD-GPOREP-05 |
| Severity | Unknown |
| Suite | Active Directory |
| Category | AD.GPOState |
| PowerShell test | Test-MtAdGpoNoEnterpriseDcCount |
| Tags | AD, AD-GPOREP-05, AD.GPOState |
Sourceโ
- Pester test:
tests/ad/gpostate/Test-MtAdGpoNoEnterpriseDcCount.Tests.ps1 - PowerShell source:
powershell/public/ad/gpostate/Test-MtAdGpoNoEnterpriseDcCount.ps1
