Get-VmcService
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.
Syntax
[-Name
<String[]>]
[-Server <CisServer[]>]
[CommonParameters]
[-Server <CisServer[]>]
[CommonParameters]
Parameters
Required | Parameter Name | Type | Position | Features | Description |
---|---|---|---|---|---|
optional |
|
String[] | named |
|
Specifies the service type ID. | optional |
|
CisServer[] | named |
|
Specifies the VMC servers 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 Connect-Vmc. |
Output
System.Management.Automation.PSObject
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.
Related Commands
VmcService
This cmdlet retrieves PSObject objects that represent a proxy to a VMware Cloud on AWS API service.