Skip to content
Sponsor
3.0 preview2.3.0 stable

These docs describe the preview. Pick the version you run and every page marks what it doesn't have yet. Get the preview →
Maester 2.x docs (archived) →

Subnet total count should be retrievable

AD-SUB-01InfoActive DirectorySites and subnets

Part of Active Directory · Active Directory · Sites and subnets · All checks

Run this check
Invoke-Maester -TestId AD-SUB-01

Subnets are the foundation of Active Directory site assignment:

  • Client location: Subnets determine which site a client belongs to
  • Authentication routing: Directs clients to the nearest domain controller
  • Service discovery: Helps clients find local services
  • Network segmentation: Reflects the physical network topology

Understanding the number and distribution of subnets helps ensure proper client site assignment across the organization.

Operational

  • Maintain accurate subnet definitions that reflect the physical network
  • Review subnet assignments during network changes
  • Remove obsolete subnets to prevent misconfiguration
  • Ensure all IP ranges in use are properly defined

This test retrieves all Active Directory subnets using Get-ADReplicationSubnet and counts the total number of subnets configured.

  • Test-MtAdSubnetSiteAssociationCount - Counts sites with subnet associations
  • Test-MtAdSubnetWithoutSiteCount - Identifies orphaned subnets
  • Test-MtAdSiteTotalCount - Counts total sites in the domain
Every attribute of this check
FieldValue
Test IDAD-SUB-01
SeverityInfo
SuiteActive Directory
ProductActive Directory
FeatureSites and subnets
AreaInfrastructure hardening
Resource typeAdSite
MITRE ATT&CKNone
PowerShell testTest-MtAdSubnetTotalCount
ServicesActiveDirectory
PermissionsActiveDirectory:Ldap:subnet:ReadProperty