PowerCLI Reference

Get-VcsService

Synopsis

This cmdlet retrieves services from the VMware Cloud Services Platform.

Syntax

Get-VcsService [-Id <String[]>] [-Server <CisServer[]>] [<CommonParameters>]

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

Related Commands

Detailed Description

This cmdlet retrieves services from the VMware Cloud Services Platform.

Parameters

NameTypeDescriptionRequired?Pipeline InputDefault Value
NameString[]Specifies the names of the services you want to retrieve.falseFalse
IdString[]Specifies the names of the services you want to retrieve.falseFalse
ServerCisServer[]Specifies the VMware Cloud Services Platform 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 the Connect-Vcs cmdlet.falseFalse

Return Type

VMware.CloudServices.Types.V1.CmdletOutput.IVcsUser

Notes

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.


Copyright © VMware, Inc. All rights reserved.