PowerCLI Reference

Get-HCXComputeProfile

Synopsis

This cmdlet retrieves a list of the HCX Compute Profiles.

Syntax

Get-HCXComputeProfile [[-Name] <String[]>] [-Server <HcxServer[]>] [-Site <HCXSite>] [<CommonParameters>]

Related Commands

Detailed Description

This cmdlet retrieves a list of the HCX Compute Profiles. These Compute Profiles are required for creating a service mesh which enables Interconnect, Network Extension, and other services.

Parameters

NameTypeDescriptionRequired?Pipeline InputDefault Value
NameString[]Specifies the name of the Compute Profile.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
SiteHCXSiteSpecifies the HCX site for which you want to list the Compute Profiles. If this parameter is not specified, the default one is selected from the source site.falseTrue (ByValue)

Return Type

VMware.VimAutomation.Hcx.Types.V1.HCXComputeProfile

Notes

Examples

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

PS C:\> Get-HCXComputeProfile

Retrieves a list of the HCX Compute Profiles.

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

PS C:\> Get-HCXComputeProfile -Name "myComputeProfile"

Retrieves a list of the HCX Compute Profiles filtered by name.

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

PS C:\> $destination = Get-HCXSite -Destination
		Get-HCXComputeProfile -Site $destination

Retrieves a list of the HCX Compute Profiles from the destination site.


Copyright © VMware, Inc. All rights reserved.