Get-HCXInventoryNetwork

This cmdlet retrieves a list of the vCenter Server network. You can use the output of the cmdlet for creating a new HCX Appliance request.

Syntax

[-Name  <String[]>]
[-Server  <HcxServer[]>]
[CommonParameters]

Parameters

Required Parameter Name Type Position Features Description
optional
Name
String[] named Specifies the name of the vCenter Server network.
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.

-Uid  <String[]>
[-Server  <HcxServer[]>]
[CommonParameters]

Parameters

Required Parameter Name Type Position Features Description
required
Uid
String[] named Specifies the Uid of the vCenter Server network.
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.HCXApplianceNetwork

Examples


Example 1

PS C:\> Get-HCXInventoryNetwork

Retrieves a list of the vCenter Server network.

Example 2

PS C:\> Get-HCXInventoryNetwork -Name "myName"

Retrieves a list of the vCenter Server network filtered by name.

Example 3

PS C:\> $myNetwork = Get-HCXInventoryNetwork
Get-HCXInventoryNetwork -Uid $myNetwork.Uid

Retrieves a list of the vCenter Server network filtered by Uid.

Related Commands

Feedback

Was this page helpful?