PowerCLI Reference

Get-VcsUser

Synopsis

This cmdlet retrieves users from the VMware Cloud Services Platform.

Syntax

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

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

Related Commands

Detailed Description

This cmdlet retrieves users from the VMware Cloud Services Platform.

Parameters

NameTypeDescriptionRequired?Pipeline InputDefault Value
NameString[]Specifies the names of the users you want to retrieve.falseFalse
IdString[]Specifies the IDs of the users 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-VcsUser -Id "UserId"

Retrieves the user with an "UserId" ID.

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

Get-VcsUser -Name "FirstName FamiliName"

Retrieves the user with an "FirstName FamiliName" name.


Copyright © VMware, Inc. All rights reserved.