Skip to main content
Version: 2.3.0

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.
  • Test-MtAdGpoVersionMismatchDetails.

Test Metadataโ€‹

FieldValue
Test IDAD-GPOREP-15
SeverityHigh
SuiteActive Directory
CategoryAD.GPOState
PowerShell testTest-MtAdGpoVersionMismatchCount
TagsAD, AD-GPOREP-15, AD.GPOState

Sourceโ€‹

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