Remove-HCXNetworkProfile Command | Vmware PowerCLI Reference

Remove-HCXNetworkProfile

This cmdlet removes an existing HCX Network Profile.

Syntax

Remove-HCXNetworkProfile
-NetworkProfile < HCXNetworkProfile >
[-InterconnectNetworkType < InterconnectNetworkType > ]
[-ProgressAction < ActionPreference > ]
[-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 ProgressAction ActionPreference 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.HCXNetworkProfileJob

Examples

Example 1

$myNetworkProfile = Get-HCXNetworkProfile -Name "myNetworkProfile"
		Remove-HCXNetworkProfile -NetworkProfile $myNetworkProfile

Removes the Network Profile.

Related Commands

HCXNetwork

This cmdlet retrieves a list of HCX networks.

HCXNetworkBacking

This cmdlet retrieves a list of HCX Network Backings.

HCXNetworkExtension

This cmdlet retrieves a list of HCX Network Extension (HCX-NET-EXT).

This cmdlet creates an HCX Network Extension (L2 extension).

This cmdlet removes an HCX Network Extension.

HCXNetworkMapping

This cmdlet creates an HCX network mapping request.

HCXNetworkProfile

This cmdlet retrieves a list of HCX Network Profiles.

This cmdlet creates an HCX Network Profile.

This cmdlet removes an existing HCX Network Profile.

This cmdlet modifies the HCX Network Profile.