Remove-HCXServiceMesh

This cmdlet removes an existing HCX Service Mesh.

Syntax

-ServiceMesh  <HCXServiceMesh>
[-Force]
[-Server  <HcxServer[]>]
[CommonParameters]

Parameters

Required Parameter Name Type Position Features Description
required
ServiceMesh
HCXServiceMesh named
  • pipeline
  • Specifies the Service Mesh that you want to remove. To retrieve a Service Mesh, use the Get-HCXServiceMesh cmdlet.
    optional
    Force
    SwitchParameter named
    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.

    Output

    VMware.VimAutomation.Hcx.Types.V1.HCXInterconnectTask

    Examples


    Example 1

    PS C:\> $myServiceMesh = Get-HCXServiceMesh -Name "myServiceMesh"
    Remove-HCXServiceMesh -ServiceMesh $myServiceMesh

    Removes the Service Mesh.

    Related Commands

    Feedback

    Was this page helpful?