AD-GPO-03 - GPO stale-before-2020 count should be retrievable
Overviewβ
Group Policy Objects (GPOs) that have not been modified for a long time can become "stale". Stale GPOs may contain outdated security configurations, which can create security gaps if they no longer match your current security baselines.
Security Recommendationβ
Regularly review GPOs that have not changed recently. Consider:
- Validating that security settings are still required and aligned with your current baseline
- Removing or updating policies that are no longer used or no longer appropriate
- Establishing a review cadence for long-lived policies
How the Test Worksβ
This test uses Get-MtADGpoState to retrieve cached GPO data.
It filters GPOs where ModificationTime is earlier than 2020-01-01 and calculates:
- Total number of GPOs
- Number and percentage of stale GPOs
Related Testsβ
Test-MtAdGpoTotalCount- Counts the total number of GPOs
Test Metadataβ
| Field | Value |
|---|---|
| Test ID | AD-GPO-03 |
| Severity | Info |
| Suite | Active Directory |
| Category | AD.GPO |
| PowerShell test | Test-MtAdGpoChangedBefore2020Count |
| Tags | AD, AD-GPO-03, AD.GPO |
Sourceβ
- Pester test:
tests/ad/gpo/Test-MtAdGpoChangedBefore2020Count.Tests.ps1 - PowerShell source:
powershell/public/ad/gpo/Test-MtAdGpoChangedBefore2020Count.ps1

