Get-HCXSitePairing Command | Vmware PowerCLI Reference

Get-HCXSitePairing

This cmdlet retrieves a list of site pairings from the HCX (Hybrid Cloud Extension).

Syntax

Get-HCXSitePairing
[-Server < HcxServer[] > ]
[-Url < String[] > ]
[CommonParameters]

Parameters

Required Parameter Name Type Position Features Description
optional Server HcxServer[] named
Specifies the HCX Server systems on which you want to run the cmdlet. If no value is provided or $null value is passed to this parameter, the command runs on the default servers. For more information about default servers, see the description of the Connect-HCXServer cmdlet.
optional Url String[] named
Specifies the URL of the registered remote HCX site.

Output

VMware.VimAutomation.HCX.Types.V1.HCXSitePairing

Examples

Example 1

Get-HCXSitePairing

Retrieves the list of already registered HCX sites.

Example 2

Get-HCXSitePairing -Url $url

Retrieves the site pairing with the specified URL.

Related Commands

HCXSite

This cmdlet retrieves a list of HCX sites.

HCXSitePairing

This cmdlet retrieves a list of site pairings from the HCX.

This cmdlet creates an HCX site pairing request.

This cmdlet removes the specified site pairing from the HCX.