API Reference
Command
Get-ADXSiteLinks
Lists site links with cost, options, and schedule summary; or provides an aggregate summary.
Examples
Example 1: All site links with schedule
Get-ADXSiteLinks -HasSchedule | Select-Object Name,AllowedHourCount,Options
Example 2: Links with notify and two-way sync enabled
Get-ADXSiteLinks -Option UseNotify,TwoWaySync | Select-Object Name,Options,Cost
Example 3: Summary counts and cost stats
Get-ADXSiteLinks -Summary
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-ADXSiteLinks [-ExpandSchedule] [-Forest <string>] [-HasSchedule] [-Option <string[]>] [<CommonParameters>]#Parameter set:
By ExpandSchedule + ForestParameters
- ExpandSchedule SwitchParameter
- Expands allowed-hour schedules into individual SiteLinkScheduleRow rows.
- Forest string
- Forest DNS name to query for raw link rows. Defaults to current forest.
- HasSchedule SwitchParameter
- Filters to site links that have a schedule defined.
- Option string[]
- Includes only links that have all selected options enabled.
Outputs
ADPlayground.Replication.SiteLinkInfoEx, ADPlayground.Replication.SiteLinkScheduleRow, ADPlayground.Replication.SiteLinksSummary
Get-ADXSiteLinks [-Summary] [-SummaryForest <string>] [<CommonParameters>]#Parameter set:
By Summary + SummaryForestParameters
- Summary SwitchParameter
- Outputs an aggregate summary instead of raw link rows.
- SummaryForest string
- Forest name when emitting the summary view.
Outputs
ADPlayground.Replication.SiteLinkInfoEx, ADPlayground.Replication.SiteLinkScheduleRow, ADPlayground.Replication.SiteLinksSummary