New-RASAdminAccount

NAME

New-RASAdminAccount

SYNOPSIS

Adds a Parallels RAS administrator account to the farm.

SYNTAX

New-RASAdminAccount [-Name] <string> [-Email <string>] [-Enabled <bool>] [-FullPermissions <bool>] [-Mobile <string>] [-Notify <AdminNotify> {None | Email}] [-Permissions <PermissionType> {PowerAdmin | RootAdmin | CustomAdmin}] [<CommonParameters>]

DESCRIPTION

Adds a RAS administrator account to the farm.

PARAMETERS


-Name <string>
The name of a user or group to add to the farm as an administrator.

        Required?                    true
        Position?                    0
        Default value                
        Accept pipeline input?       false
        Accept wildcard characters?  false

-Email <string>
The user email address.

        Required?                    false
        Position?                    named
        Default value                
        Accept pipeline input?       false
        Accept wildcard characters?  false

-Mobile <string>
The user mobile phone number.

        Required?                    false
        Position?                    named
        Default value                
        Accept pipeline input?       false
        Accept wildcard characters?  false

-Enabled <bool>
Whether enable or disable this administrator in the farm.

        Required?                    false
        Position?                    named
        Default value                True
        Accept pipeline input?       false
        Accept wildcard characters?  false

-Enable <bool>
Whether enable or disable this administrator in the farm.

This is an alias of the Enabled parameter.

        Required?                    false
        Position?                    named
        Default value                True
        Accept pipeline input?       false
        Accept wildcard characters?  false

-Notify <AdminNotify>
Sets the "Receive system notifications via" option. Possible values are: "None", "Email".

Possible values: None, Email

        Required?                    false
        Position?                    named
        Default value                Email
        Accept pipeline input?       false
        Accept wildcard characters?  false

-AdminNotification <AdminNotify>
Sets the "Receive system notifications via" option. Possible values are: "None", "Email".

Possible values: None, Email

This is an alias of the Notify parameter.

        Required?                    false
        Position?                    named
        Default value                Email
        Accept pipeline input?       false
        Accept wildcard characters?  false

-FullPermissions <bool>
Enables or disables the "Full Permissions" option.

        Required?                    false
        Position?                    named
        Default value                True
        Accept pipeline input?       false
        Accept wildcard characters?  false

-Permissions <PermissionType>
Specifies the type of permission to use.

Possible values: PowerAdmin, RootAdmin, CustomAdmin

        Required?                    false
        Position?                    named
        Default value                
        Accept pipeline input?       false
        Accept wildcard characters?  false

<CommonParameters>
        This cmdlet supports the common parameters: Verbose, Debug,
        ErrorAction, ErrorVariable, WarningAction, WarningVariable,
        OutBuffer, PipelineVariable, and OutVariable. For more information, see 
        about_CommonParameters documentation. 

INPUTS

-none-

OUTPUTS

RASAdminAccount

EXAMPLES


---------- EXAMPLE 1 ----------

New-RASAdminAccount "Jane"

Adds user Jane to the farm as an administrator.

Since no additional options are specified, the default settings and permissions will be used.

---------- EXAMPLE 2 ----------

New-RASAdminAccount -Name "Jane" -AdminNotification None -FullPermissions $false

Adds user Jane to the farm as an administrator.

Modifies the "Receive system notification" option to "None".

Disables the "Full Permissions" option, which means that permissions can be set individually (all are enabled by default).

RELATED LINKS