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
Name | Type | Description | Required? | Pipeline Input | Default Value |
---|---|---|---|---|---|
ApplianceLimit | Int32 | Specifies appliance limit for the DVS. | false | False | |
Confirm | SwitchParameter | If 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. | false | False | |
DVS | HCXApplianceDVS | Specifies the Distributed Virtual Switch. | true | True (ByValue) | |
Server | HcxServer[] | 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. | false | False | |
WhatIf | SwitchParameter | Indicates that the cmdlet is run only to display the changes that would be made and actually no objects are modified. | false | False |
Return Type
VMware.VimAutomation.Hcx.Types.V1.HCXComputeProfileDVSNotes
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.