Get-HCXInventoryCompute
This cmdlet retrieves a list of vCenter Server compute resources. You can use the output of the cmdlet for creating ? Compute Profile and an HCX Appliance request.
Syntax
Parameters
Required | Parameter Name | Type | Position | Features | Description |
---|---|---|---|---|---|
required |
|
SwitchParameter | named |
|
Indicates that you want to fetch clusters. | optional |
|
String[] | named |
|
Specifies the name of the vCenter Server compute. | optional |
|
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. |
Parameters
Required | Parameter Name | Type | Position | Features | Description |
---|---|---|---|---|---|
required |
|
HCXApplianceDVS | named |
|
Specifies the DVS filter. | optional |
|
String[] | named |
|
Specifies the name of the vCenter Server compute. | optional |
|
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. |
Parameters
Required | Parameter Name | Type | Position | Features | Description |
---|---|---|---|---|---|
required |
|
HCXNetwork | named |
|
Specifies the HCX networks. These include networks of type Network, DistributedVirtualPortgroup, VirtualWire, and VirtualNetwork. | optional |
|
String[] | named |
|
Specifies the name of the vCenter Server compute. | optional |
|
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. |
Parameters
Required | Parameter Name | Type | Position | Features | Description |
---|---|---|---|---|---|
required |
|
HCXApplianceCompute[] | named |
|
Specifies the vCenter Server cluster filter. | optional |
|
String[] | named |
|
Specifies the name of the vCenter Server compute. | optional |
|
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.HCXApplianceCompute
Examples
Example 1
Retrieves a list of vCenter Server compute resources filtered by network.
Example 2
Retrieves ? list of vCenter Server compute resources filtered by DVS (Distributed Virtual Switch).
Example 3
Retrieves a list of vCenter Server compute resources filtered by name.
Example 4
Retrieves a list of vCenter Server ClusterComputeResource.
Example 5
Retrieves a list of vCenter Server compute resources filtered by cluster.
Related Commands
HCXInventoryCompute
HCXInventoryDVS
HCXInventoryDatastore