Syntax
Get-HCXApplianceCompute [[-Name] <String[]>] -DVS <HCXApplianceDVS> [-Server <HcxServer[]>] [<CommonParameters>]Related Commands
Detailed Description
This cmdlet retrieves a list of vCenter Server compute resources. You can use the output of the cmdlet for creating a new HCX (Hybrid Cloud Extension) Appliance request.Parameters
Name | Type | Description | Required? | Pipeline Input | Default Value |
---|---|---|---|---|---|
Name | String[] | Specifies the name of the vCenter Server compute. | false | False | |
DVS | HCXApplianceDVS | Specifies the DVS (Distributed Virtual Switch) filter. | true | True (ByValue) | |
Network | HCXNetwork | Specifies the HCX (Hybrid Cloud Extension) networks. These include networks of type Network, DistributedVirtualPortgroup, VirtualWire, and VirtualNetwork. | 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 |
Return Type
VMware.VimAutomation.Hcx.Types.V1.HCXApplianceComputeNotes
Examples
-------------------------- Example 1 --------------------------
PS C:\> $myNetwork = Get-HCXNetwork -Name "myName" Get-HCXApplianceCompute -Network $myNetwork
Retrieves a list of vCenter Server compute resources filtered by network.
-------------------------- Example 2 --------------------------
PS C:\> $myDvs = Get-HCXApplianceDVS -Name "myDvs" Get-HCXApplianceCompute -DVS $myDvs
Retrieves the list of vCenter Server compute resources filtered by DVS.
-------------------------- Example 3 --------------------------
PS C:\> $myDvs = Get-HCXApplianceDVS -Name "myDvs" Get-HCXApplianceCompute -DVS $myDvs -Name "myName"
Retrieves a list of vCenter Server compute resources filtered by name.