Get-VcsService
This cmdlet retrieves services from the VMware Cloud Services Platform.
Syntax
Parameters
Required | Parameter Name | Type | Position | Features | Description |
---|---|---|---|---|---|
optional |
|
String[] | named |
|
Specifies the names of the services you want to retrieve. | optional |
|
IVcsServer[] | named |
|
Specifies the VMware Cloud Services Platform 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 the Connect-Vcs cmdlet. |
Parameters
Required | Parameter Name | Type | Position | Features | Description |
---|---|---|---|---|---|
optional |
|
String[] | named |
|
Specifies the names of the services you want to retrieve. | optional |
|
IVcsServer[] | named |
|
Specifies the VMware Cloud Services Platform 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 the Connect-Vcs cmdlet. |
Output
VMware.CloudServices.Types.V1.CmdletOutput.IVcsService
Examples
Example 1
Get-VcsService -Id "ServiceId"
Retrieves the service with an "ServiceId" ID.
Example 2
Get-VcsService -Name "ServiceName"
Retrieves the service with a "ServiceName" name.
Related Commands
VcsService
This cmdlet retrieves services from the VMware Cloud Services Platform.
VcsServiceRole
This cmdlet retrieves service roles from the VMware Cloud Services Platform.