PowerCLI Reference

New-HCXComputeProfileDVS

Synopsis

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

Syntax

New-HCXComputeProfileDVS [-ApplianceLimit <Int32>] [-Confirm] -DVS <HCXApplianceDVS> [-Server <HcxServer[]>] [-WhatIf] [<CommonParameters>]

Related Commands

Detailed Description

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.

Parameters

NameTypeDescriptionRequired?Pipeline InputDefault Value
ApplianceLimitInt32Specifies appliance limit for the DVS.falseFalse
ConfirmSwitchParameterIf the value is $true, indicates that the cmdlet asks for confirmation before running. If the value is $false, the cmdlet runs without asking for user confirmation.falseFalse
DVSHCXApplianceDVSSpecifies the Distributed Virtual Switch.trueTrue (ByValue)
ServerHcxServer[]Specifies the HCX Server systems on which you want to run the cmdlet. If no value is given to this parameter, the command runs on the default servers. For more information about default servers, see the description of the Connect-HCXServer cmdlet.falseFalse
WhatIfSwitchParameterIndicates that the cmdlet is run only to display the changes that would be made and actually no objects are modified.falseFalse

Return Type

VMware.VimAutomation.Hcx.Types.V1.HCXComputeProfileDVS

Notes

Examples

-------------------------- Example 1 --------------------------

PS C:\> $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.


Copyright © VMware, Inc. All rights reserved.