AD-GPOS-08 - GPO owner distinct count should be retrievable
Overviewβ
Test-MtAdGpoOwnerDistinctCountβ
Counts the number of distinct GPO owners.
Why This Test Mattersβ
- Operational control: assesses diversity of GPO owners which can highlight unusual configurations or omissions.
Control Typeβ
Operational
Security Recommendationβ
- If many owners are identical or blank, review GPO creation practices to ensure proper ownership.
How the Test Worksβ
- Retrieves GPO state, extracts Owner fields, computes distinct non-empty owners, and reports the count.
Related Testsβ
Test-MtAdGpoOwnerDetails- summarizes owners per GPOs.
Related linksβ
- Microsoft Learn - Group Policy management
- ANSSI checkpoint: https://www.anssi.gouv.fr/
Test Metadataβ
| Field | Value |
|---|---|
| Test ID | AD-GPOS-08 |
| Severity | Info |
| Suite | Active Directory |
| Category | AD.GPOState |
| PowerShell test | Test-MtAdGpoOwnerDistinctCount |
| Tags | AD, AD-GPOS-08, AD.GPOState |
Sourceβ
- Pester test:
tests/ad/gpostate/Test-MtAdGpoOwnerDistinctCount.Tests.ps1 - PowerShell source:
powershell/public/ad/gpostate/Test-MtAdGpoOwnerDistinctCount.ps1
