Get-HCXNetworkExtension Command | Vmware PowerCLI Reference

Get-HCXNetworkExtension

This cmdlet retrieves a list of HCX Network Extension (L2 extensions).

Syntax

Get-HCXNetworkExtension
-Id < String[] >
[-ProgressAction < ActionPreference > ]
[-Server < HcxServer[] > ]
[CommonParameters]

Parameters

Required Parameter Name Type Position Features Description
required
Id String[] named
Specifies the IDs of the network extenstion you want to retrieve. Note: When a list of values is specified for the Id parameter, the returned objects have an ID that matches exactly one of the string values in that list.
optional ProgressAction ActionPreference named
optional Server HcxServer[] named
  • wildcards
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.
Get-HCXNetworkExtension
[-DestinationSite < HCXSite[] > ]
[-ProgressAction < ActionPreference > ]
[-Server < HcxServer[] > ]
[CommonParameters]

Parameters

Required Parameter Name Type Position Features Description
optional DestinationSite HCXSite[] named
  • pipeline
Specifies the destination site which refers to the cloud site.
optional ProgressAction ActionPreference named
optional Server HcxServer[] named
  • wildcards
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.HCXNetworkExtension

Examples

Example 1

Get-HCXNetworkExtension

Retrieves a list of network extenstion.

Example 2

$myDestination = Get-HCXSite -Destination
        Get-HCXNetworkExtension -DestinationSite $myDestination[0]

Retrieves a list of network extenstion from the destination site.

Related Commands

HCXNetwork

This cmdlet retrieves a list of HCX networks.

HCXNetworkBacking

This cmdlet retrieves a list of HCX Network Backings.

HCXNetworkExtension

This cmdlet retrieves a list of HCX Network Extension (HCX-NET-EXT).

This cmdlet creates an HCX Network Extension (L2 extension).

This cmdlet removes an HCX Network Extension.

HCXNetworkMapping

This cmdlet creates an HCX network mapping request.

HCXNetworkProfile

This cmdlet retrieves a list of HCX Network Profiles.

This cmdlet creates an HCX Network Profile.

This cmdlet removes an existing HCX Network Profile.

This cmdlet modifies the HCX Network Profile.