Online Help > PowerShell Scripting

Get-RDMRole

SYNOPSIS

Retrieve the list of available roles.

 

SYNTAX

Get-RDMRole -Name [Name] <String> [<CommonParameters>]

 

DESCRIPTION

Retrieve the list of available roles for the current selected data source..

 

PARAMETERS

  -Name <String>

Role name

 

  <CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, WarningVariable,OutBuffer and OutVariable.For more information, type, "get-help about_commonparameters".

 

NOTES

For more information, type "Get-Help Get-RDMRole -detailed". For technical information, type "Get-Help Get-RDMRole -full".

 

EXAMPLE 1

PS C:\> Get-RDMRole

 

Retrieves the list of available role.

 

EXAMPLE 2

PS C:\> $list = Get-RDMRole; $list[0]

 

Retrieves the list of available roles and displays the first item.

 

EXAMPLE 3

PS C:\> $list = Get-RDMRole; $list[1].Name = "New Name";Set-RDMRole $list[1]

 

Retrieves the list of available roles, modify the name of the second role, update the role.

 

RELATED LINKS

New-RDMRole

Remove-RDMRole

Set-RDMRole

Set-RDMRoleProperty