Syntax
Get-HCXNetworkExtension [-DestinationSite <HCXSite[]>] [-Server <HcxServer[]>] [<CommonParameters>]Related Commands
Detailed Description
This cmdlet retrieves a list of HCX Network Extension (L2 extensions).Parameters
Name | Type | Description | Required? | Pipeline Input | Default Value |
---|---|---|---|---|---|
DestinationSite | HCXSite[] | Specifies the destination site which refers to the cloud site. | false | True (ByValue) | |
Id | String[] | 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. | true | False | |
Server | HcxServer[] | 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. | false | False |
Return Type
VMware.VimAutomation.Hcx.Types.V1.HCXNetworkExtensionNotes
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.