PowerCLI Reference

Get-HCXServiceMesh

Synopsis

This cmdlet retrieves a list of the HCX Service Mesh.

Syntax

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

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

Related Commands

Detailed Description

This cmdlet retrieves a list of the HCX Service Mesh.

Parameters

NameTypeDescriptionRequired?Pipeline InputDefault Value
NameString[]Specifies the name of the HCX Service Mesh.falseFalse
IdString[]Specifies the Id of the HCX Service Mesh.falseFalse
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.HCXServiceMesh

Notes

Examples

-------------------------- Example 1 --------------------------

PS C:\> Get-HCXServiceMesh

Retrieves a list of the HCX Service Mesh.

-------------------------- Example 2 --------------------------

PS C:\> Get-HCXServiceMesh -Name "myServiceMesh"

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

-------------------------- Example 3 --------------------------

PS C:\> Get-HCXServiceMesh -Id "servicemesh-013cc385-4af7-421f-a934-df628263b641"

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


Copyright © VMware, Inc. All rights reserved.