Get-HCXNetworkExtension

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

Syntax

[-DestinationSite  <HCXSite[]>]
[-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
    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.

    -Id  <String[]>
    [-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.
    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

    PS C:\> Get-HCXNetworkExtension

    Retrieves a list of network extenstion.

    Example 2

    PS C:\> $myDestination = Get-HCXSite -Destination
    Get-HCXNetworkExtension -DestinationSite $myDestination[0]

    Retrieves a list of network extenstion from the destination site.

    Related Commands

    Feedback

    Was this page helpful?