PowerCLI Reference

Get-VcsOrganizationRole

Synopsis

This cmdlet retrieves organization roles from the VMware Cloud Services Platform.

Syntax

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

Get-VcsOrganizationRole [[-Name] <String[]>] [-Server <CisServer[]>] [-User <IVcsUser[]>] [<CommonParameters>]

Related Commands

Detailed Description

This cmdlet retrieves organization roles from the VMware Cloud Services Platform.

Parameters

NameTypeDescriptionRequired?Pipeline InputDefault Value
NameString[]Specifies the names of the organization roles you want to retrieve.falseFalse
IdString[]Specifies the IDs of the organization roles 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
UserIVcsUser[]Specifies the users whose organization roles you want to retrieve.falseFalse

Return Type

VMware.CloudServices.Types.V1.CmdletOutput.IVcsOrganizationRole

Notes

Examples

-------------------------- Example 1 --------------------------

Get-VcsOrganizationRole -Id "OrganizationRoleId"

Retrieves the organization role with an "OrganizationRoleId" ID.

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

Get-VcsOrganizationRole -Name "OrganizationRoleName"

Retrieves the organization role with an "OrganizationRoleName" name.

-------------------------- Example 3 --------------------------

Get-VcsOrganizationRole -User $USER

Retrieves the organization roles of $USER user.


Copyright © VMware, Inc. All rights reserved.