New-HCXComputeProfileDVS Command | Vmware PowerCLI Reference

New-HCXComputeProfileDVS

This cmdlet creates a DVS configuration for a Compute Profile. It configures the DVS with an appliance count for the Compute Profile. You can use the output of this cmdlet to create a Compute Profile.

Syntax

New-HCXComputeProfileDVS
-DVS < HCXApplianceDVS >
[-ApplianceLimit < Int32 > ]
[-ProgressAction < ActionPreference > ]
[-Server < HcxServer[] > ]
[CommonParameters]

Parameters

Required Parameter Name Type Position Features Description
required
DVS HCXApplianceDVS named
  • pipeline
Specifies the Distributed Virtual Switch.
optional ApplianceLimit Int32 named
Specifies appliance limit for the DVS.
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.HCXComputeProfileDVS

Examples

Example 1

$myCluster = Get-HCXInventoryCompute -ClusterComputeResource -Name "myCluster"
$myDvs = Get-HCXInventoryDVS -Compute $myCluster -Name "myDVS"
$computeProfileDVS = New-HCXComputeProfileDVS -DVS $myDvs -ApplianceLimit 3

Creates a DVS configuration for а Compute Profile.

Related Commands

HCXComputeProfile

This cmdlet retrieves a list of the HCX Compute Profiles.

This cmdlet creates an HCX Compute Profile.

This cmdlet removes an existing HCX Compute Profile.

This cmdlet modifies the HCX Compute Profile.

HCXComputeProfileDVS

This cmdlet creates a Distributed Virtual Switch (DVS) configuration for a Compute Profile.

HCXComputeProfileNetwork

This cmdlet creates a Network Profile configuration for the Compute Profile.