AD-SUB-11 - Subnets without site associations count should be retrievable
Overviewโ
Subnets without site associations (orphaned subnets) can cause:
- Client mislocation: Computers with these IPs cannot determine their site
- Authentication inefficiency: Clients may authenticate to distant DCs
- Configuration drift: Orphaned subnets may indicate incomplete cleanup
- Operational confusion: Unclear which locations these subnets serve
Orphaned subnets should be either assigned to sites or removed.
Security Recommendationโ
- Assign orphaned subnets to appropriate sites
- Remove subnets that are no longer in use
- Review subnet assignments during network changes
- Document the purpose and location of all subnets
How the Test Worksโ
This test identifies subnets that have no site association (SiteObject is null).
Related Testsโ
Test-MtAdSiteWithoutSubnetCount- Identifies sites without subnetsTest-MtAdSubnetSiteAssociationCount- Counts sites with subnetsTest-MtAdSubnetTotalCount- Counts total subnets
Test Metadataโ
| Field | Value |
|---|---|
| Test ID | AD-SUB-11 |
| Severity | Info |
| Suite | Active Directory |
| Category | AD.Site |
| PowerShell test | Test-MtAdSubnetWithoutSiteCount |
| Tags | AD, AD-SUB-11, AD.Site |
Sourceโ
- Pester test:
tests/ad/site/Test-MtAdSubnetWithoutSiteCount.Tests.ps1 - PowerShell source:
powershell/public/ad/site/Test-MtAdSubnetWithoutSiteCount.ps1

