PowerCLI Reference

Get-VmcService

Synopsis

This cmdlet retrieves PSObject objects that represent a proxy to a VMware Cloud on AWS API service.

Syntax

Get-VmcService [[-Name] <String[]>] [-Server <CisServer[]>] [<CommonParameters>]

Related Commands

Online version

Detailed Description

This cmdlet retrieves PSObject objects that represent a proxy to a VMware Cloud on AWS API service and can be used to invoke the operations of the VMware Cloud on AWS API service.

Parameters

NameTypeDescriptionRequired?Pipeline InputDefault Value
NameString[]Specifies the service type ID.falsefalse
ServerCisServer[]Specifies the VMC servers 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 Connect-Vmc.falsefalse

Return Type

One or more PSObject objects

Notes

Examples

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

Get-VmcService

Retrieves all available VMware Cloud on AWS services on the connected VMware Cloud on AWS server.

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

Get-VmcService -Name 'com.vmware.vmc.orgs'

Retrieves a specific VMware Cloud on AWS service by a specific name.


Copyright © VMware, Inc. All rights reserved.