Remove-HCXNetworkProfile

This cmdlet removes an existing HCX Network Profile.

Syntax

-NetworkProfile  <HCXNetworkProfile>
[-InterconnectNetworkType  <InterconnectNetworkType>]
[-Server  <HcxServer[]>]
[CommonParameters]

Parameters

Required Parameter Name Type Position Features Description
required
NetworkProfile
HCXNetworkProfile named
  • pipeline
  • Specifies the Network Profile that you want to remove. To retrieve a Network Profile, use the Get-HCXNetworkProfile cmdlet.
    optional
    InterconnectNetworkType
    InterconnectNetworkType named Specifies network type to be removed from Service Mesh or Compute Profile's Network.
    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.HCXNetworkProfileJob

    Examples


    Example 1

    PS C:\> $myNetworkProfile = Get-HCXNetworkProfile -Name "myNetworkProfile"
    Remove-HCXNetworkProfile -NetworkProfile $myNetworkProfile

    Removes the Network Profile.

    Related Commands

    Feedback

    Was this page helpful?