API Reference
Command
Get-ADXSiteCoverage
Computes site coverage metrics (DC counts, subnet counts, global orphaned subnets) and optional Netlogon AutoSiteCoverage.
Examples
Example 1: Summary view
Get-ADXSiteCoverage
Example 2: Summary with registry lookup (opt-in)
Get-ADXSiteCoverage -IncludeRegistry
Example 3: Raw dataset (Summary + Sites + Subnets)
$rep = Get-ADXSiteCoverage -Raw
Common Parameters
This command supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable.
For more information, see about_CommonParameters.
Syntax
Get-ADXSiteCoverage [-Forest <string>] [-IncludeRegistry] [<CommonParameters>]#Parameter set:
By Forest + IncludeRegistryParameters
- Forest string
- Forest DNS name for the summary view; defaults to the current forest.
- IncludeRegistry SwitchParameter
- Include Netlogon AutoSiteCoverage registry lookup in the summary.
Outputs
ADPlayground.Replication.CoverageReport, ADPlayground.Replication.CoverageSummary
Get-ADXSiteCoverage [-IncludeRegistryRaw] [-Raw] [-RawForest <string>] [<CommonParameters>]#Parameter set:
By IncludeRegistryRaw + RawParameters
- IncludeRegistryRaw SwitchParameter
- Include Netlogon AutoSiteCoverage registry lookup in the raw report.
- Raw SwitchParameter
- Return the raw report object (Summary + Site + Subnet details).
- RawForest string
- Forest DNS name for the raw report; null uses the current forest.
Outputs
ADPlayground.Replication.CoverageReport, ADPlayground.Replication.CoverageSummary