PowerCLI Reference

Remove-HCXSitePairing

Synopsis

This cmdlet removes the specified site pairing from the HCX.

Syntax

Remove-HCXSitePairing [-Server <HcxServer[]>] -SitePairing <HCXSitePairing[]> [-Confirm] [-WhatIf] [<CommonParameters>]

Related Commands

Detailed Description

This cmdlet removes the specified site pairing from the HCX. This unpairs the connection between the source site and the remote cloud site.

Parameters

NameTypeDescriptionRequired?Pipeline InputDefault Value
ConfirmSwitchParameterIf the value is $true, indicates that the cmdlet asks for confirmation before running. If the value is $false, the cmdlet runs without asking for user confirmation.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
SitePairingHCXSitePairing[]Specifies the list of the site pairing objects that you want to delete.trueTrue (ByValue)
WhatIfSwitchParameterIndicates that the cmdlet is run only to display the changes that would be made and actually no objects are modified.falseFalse

Return Type

vmware.hcx.appliance.model.HCXJob

Notes

Examples

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

PS C:\> Remove-HCXSitePairing -SitePairing $sitePairing

Removes a site pairing.


Copyright © VMware, Inc. All rights reserved.