PowerCLI Reference

Get-HCXSitePairing

Synopsis

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

Syntax

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

Related Commands

Detailed Description

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

Parameters

NameTypeDescriptionRequired?Pipeline InputDefault Value
UrlString[]Specifies the URL of the registered remote HCX site.falseFalse
ServerHcxServer[]Specifies the HCX Server systems on which you want to run the cmdlet. If no value is given to this parameter, the command runs on the default servers. For more information about default servers, see the description of the Connect-HCXServer cmdlet.falseFalse

Return Type

VMware.VimAutomation.HCX.Types.V1.HCXSitePairing

Notes

Examples

-------------------------- Example 1 --------------------------

PS C:\> Get-HCXSitePairing

Retrieves the list of already registered HCX sites.

-------------------------- Example 2 --------------------------

PS C:\> Get-HCXSitePairing -Url $url

Retrieves the site pairing with the specified URL.


Copyright © VMware, Inc. All rights reserved.