AD-GPOREP-15 - No GPOs should have version mismatches
Overviewโ
Test-MtAdGpoVersionMismatchCountโ
Counts the number of GPOs with a version mismatch.
Why This Test Mattersโ
- Detective control: flags GPOs that have a version mismatch which could affect policy consistency across machines.
Control Typeโ
Detective
Security Recommendationโ
- Review mismatched GPOs and align versions with baseline configurations.
How the Test Worksโ
- Pulls GPO state, filters HasVersionMismatch, counts total/mismatched and computes a mismatch ratio.
Related Testsโ
Test-MtAdGpoVersionMismatchDetails.
Related linksโ
- Microsoft Learn - Group Policy management
- ANSSI checkpoint: https://www.anssi.gouv.fr/
Test Metadataโ
| Field | Value |
|---|---|
| Test ID | AD-GPOREP-15 |
| Severity | High |
| Suite | Active Directory |
| Category | AD.GPOState |
| PowerShell test | Test-MtAdGpoVersionMismatchCount |
| Tags | AD, AD-GPOREP-15, AD.GPOState |
Sourceโ
- Pester test:
tests/ad/gpostate/Test-MtAdGpoVersionMismatchCount.Tests.ps1 - PowerShell source:
powershell/public/ad/gpostate/Test-MtAdGpoVersionMismatchCount.ps1
