PowerCLI Reference

Remove-HCXReplication

Synopsis

This cmdlet removes an existing HCX replication.

Syntax

Remove-HCXReplication [-Replication] <HCXReplication[]> [-Confirm] [-Server <HcxServer[]>] [-WhatIf] [<CommonParameters>]

Related Commands

Detailed Description

This cmdlet removes an existing HCX replication.

Parameters

NameTypeDescriptionRequired?Pipeline InputDefault Value
ReplicationHCXReplication[]Specifies the replication that you want to remove. To retrieve a replication, use the Get-HCXReplication cmdlet.trueTrue (ByValue)
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
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.VimAutomation.Hcx.Types.V1.HCXJob

Notes

Examples

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

PS C:\> Remove-HCXReplication -Replication $myReplication

Removes the replication.


Copyright © VMware, Inc. All rights reserved.