Get-VcsService

This cmdlet retrieves services from the VMware Cloud Services Platform.

Syntax

[-Name  <String[]>]
[-Server  <IVcsServer[]>]
[CommonParameters]

Parameters

Required Parameter Name Type Position Features Description
optional
Name
String[] named Specifies the names of the services you want to retrieve.
optional
Server
IVcsServer[] named
  • wildcards
  • 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.

    [-Id  <String[]>]
    [-Server  <IVcsServer[]>]
    [CommonParameters]

    Parameters

    Required Parameter Name Type Position Features Description
    optional
    Id
    String[] named Specifies the names of the services you want to retrieve.
    optional
    Server
    IVcsServer[] named
  • wildcards
  • 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

    Feedback

    Was this page helpful?