Syntax
Remove-HCXServiceMesh [-Server <HcxServer[]>] -ServiceMesh <HCXServiceMesh> [-Confirm] [-WhatIf] [<CommonParameters>]Related Commands
Detailed Description
This cmdlet removes an existing HCX Service Mesh.Parameters
Name | Type | Description | Required? | Pipeline Input | Default Value |
---|---|---|---|---|---|
Confirm | SwitchParameter | Prompts you for confirmation before running the cmdlet. | false | False | |
Server | HcxServer[] | 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. | false | False | |
ServiceMesh | HCXServiceMesh | Specifies the Service Mesh that you want to remove. To retrieve a Service Mesh, use the Get-HCXServiceMesh cmdlet. | true | True (ByValue) | |
WhatIf | SwitchParameter | Shows what would happen if the cmdlet runs. The cmdlet is not run. | false | False |
Return Type
VMware.VimAutomation.Hcx.Types.V1.HCXInterconnectTaskNotes
Examples
-------------------------- Example 1 --------------------------
PS C:\> $myServiceMesh = Get-HCXServiceMesh -Name "myServiceMesh" Remove-HCXServiceMesh -ServiceMesh $myServiceMesh
Removes the Service Mesh.