PowerCLI Reference

Get-HCXNetworkExtension

Synopsis

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

Syntax

Get-HCXNetworkExtension [-DestinationSite <HCXSite[]>] [-Server <HcxServer[]>] [<CommonParameters>]

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

Related Commands

Detailed Description

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

Parameters

NameTypeDescriptionRequired?Pipeline InputDefault Value
DestinationSiteHCXSite[]Specifies the destination site which refers to the cloud site.falseTrue (ByValue)
IdString[]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.
trueFalse
ServerHcxServer[]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.falseFalse

Return Type

VMware.VimAutomation.Hcx.Types.V1.HCXNetworkExtension

Notes

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.


Copyright © VMware, Inc. All rights reserved.