API Reference
Command
Get-ADXSubnets
Lists AD subnets with site binding and orphaned flag. TODO: Implement via ADPlayground.Replication.TopologyService.
Examples
Example 1: List every subnet in the current forest
Get-ADXSubnets
Example 2: Return an aggregate subnet summary for a named forest
Get-ADXSubnets -Summary -SummaryForest 'contoso.com'
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-ADXSubnets [-Forest <string>] [<CommonParameters>]#Parameter set:
By ForestParameters
- Forest string
- Forest DNS name to query for raw subnets. Defaults to current forest.
Outputs
ADPlayground.Replication.SubnetInfoEx, ADPlayground.Replication.SubnetSummary
Get-ADXSubnets [-Summary] [-SummaryForest <string>] [<CommonParameters>]#Parameter set:
By Summary + SummaryForestParameters
- Summary SwitchParameter
- Outputs an aggregate summary instead of raw subnet rows.
- SummaryForest string
- Forest name when emitting the summary view.
Outputs
ADPlayground.Replication.SubnetInfoEx, ADPlayground.Replication.SubnetSummary