Get-HCXServiceMesh Command | Vmware PowerCLI Reference

Get-HCXServiceMesh

This cmdlet retrieves a list of the HCX Service Mesh.

Syntax

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

Parameters

Required Parameter Name Type Position Features Description
required
Id String[] named
Specifies the Id of the HCX Service Mesh.
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.
Get-HCXServiceMesh
[-Name < String[] > ]
[-Server < HcxServer[] > ]
[CommonParameters]

Parameters

Required Parameter Name Type Position Features Description
optional Name String[] named
Specifies the name of the HCX Service Mesh.
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.HCXServiceMesh

Examples

Example 1

Get-HCXServiceMesh

Retrieves a list of the HCX Service Mesh.

Example 2

Get-HCXServiceMesh -Name "myServiceMesh"

Retrieves a list of the HCX service mesh filtered by name.

Example 3

Get-HCXServiceMesh -Id "servicemesh-013cc385-4af7-421f-a934-df628263b641"

Retrieves a list of the HCX service mesh filtered by Id.

Related Commands

HCXServiceMesh

This cmdlet retrieves a list of the HCX Service Mesh.

This cmdlet creates an HCX Service Mesh.

This cmdlet removes an existing HCX Service Mesh.

Specifies the HCX Service Mesh that you want to modify.

HCXServiceMeshDVS

This cmdlet creates a DVS configuration for the Service Mesh.