Online Help > PowerShell Scripting

Get-RDMSecurityGroup

SYNOPSIS

Retrieve the list of available security groups.

 

SYNTAX

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

 

DESCRIPTION

Retrieve the list of available security groups for the current selected data source. Security group list contains a column "Session" that can be directly manipulated then updated. (see Set-RDMSessionCommand for more detail).

 

PARAMETERS

  -Name <String>

Security group 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-RDMSecurityGroup -detailed". For technical information, type "Get-Help Get-RDMSecurityGroup -full".

 

EXAMPLE 1

PS C:\> Get-RDMSecurityGroup

 

Retrieves the list of available security groups.

 

EXAMPLE 2

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

 

Retrieves the list of available security groups and displays the first item.

 

EXAMPLE 3

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

 

Retrieves the list of available security groups, modify the name of the second security group, update the security group.

 

RELATED LINKS

Get-RDMSecurityGroup

New-RDMSecurityGroup

Remove-RDMSecurityGroup

Set-RDMSecurityGroup

Set-RDMSecurityGroupProperty