Online Help > PowerShell Scripting

New-RDMRole

SYNOPSIS

Create a new role instance.

 

SYNTAX

New-RDMRole -SetRole [SetRole] <SwitchParameter> -Description [Description] <String> -Name [Name] <String> [<CommonParameters>]

 

DESCRIPTION

Create a role instance. The instance has not yet been saved. Assign the result to a variable then call "Set-RDMRole $s" to save the role.

 

PARAMETERS

  -SetRole <SwitchParameter>

Save the new role.

 

  -Description <String>

Role description.

 

  -Name <String>

(Required) New 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 New-RDMRole -detailed". For technical information, type "Get-Help New-RDMRole -full".

 

EXAMPLE 1

PS C:\> $role = New-RDMRole -Name "New Role" ;Set-RDMRole $role

 

Create & save new role.

 

RELATED LINKS

Get-RDMRole

Remove-RDMRole

Set-RDMRole

Set-RDMRoleProperty