Remove-HCXNetworkExtension

This cmdlet removes an HCX Network Extension (L2 extension) and you can reverse the stretch operation on the provided network. You can retrieve job details by running the Get-HCXJob cmdlet.

Syntax

-HCXNetworkExtension  <HCXNetworkExtension>
[-ConnectToLocalRouter  <Boolean>]
[-Force]
[-Server  <HcxServer[]>]
[CommonParameters]

Parameters

Required Parameter Name Type Position Features Description
required
HCXNetworkExtension
HCXNetworkExtension named
  • pipeline
  • Specifies the HCX network extension that you want to remove.
    optional
    ConnectToLocalRouter
    Boolean named Specifies the option which connects the network to a local router after removing the network extension.
    optional
    Force
    SwitchParameter named
    optional
    Server
    HcxServer[] named
  • wildcards
  • 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.HCXJob

    Examples


    Example 1

    PS C:\> Remove-HCXNetworkExtension -HCXNetworkExtension $networkExtended

    Removes the network extension.

    Related Commands

    Feedback

    Was this page helpful?