Get-VcsOrganizationRole Command | Vmware PowerCLI Reference

Get-VcsOrganizationRole

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

Syntax

Get-VcsOrganizationRole
[-Name < String[] > ]
[-ProgressAction < ActionPreference > ]
[-Server < IVcsServer[] > ]
[-User < IVcsUser[] > ]
[CommonParameters]

Parameters

Required Parameter Name Type Position Features Description
optional Name String[] named
Specifies the names of the organization roles you want to retrieve.
optional ProgressAction ActionPreference named
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.
optional User IVcsUser[] named
  • pipeline
  • wildcards
Specifies the users whose organization roles you want to retrieve.
Get-VcsOrganizationRole
[-Id < String[] > ]
[-ProgressAction < ActionPreference > ]
[-Server < IVcsServer[] > ]
[CommonParameters]

Parameters

Required Parameter Name Type Position Features Description
optional Id String[] named
Specifies the IDs of the organization roles you want to retrieve.
optional ProgressAction ActionPreference named
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.IVcsOrganizationRole

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.

Related Commands

VcsOrganizationRole

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