New-RASAdminAccount

NAME

New-RASAdminAccount

SYNOPSIS

Adds a Parallels RAS administrator account to the farm.

SYNTAX

New-RASAdminAccount [-Name] <string> [-AdminNotification <AdminNotify> {None | Email}] [-AllowAllSites <bool>] [-AllowClientManagementChanges <bool>] [-AllowConnectionChanges <bool>] [-AllowInSite <Site[]>] [-AllowPolicyChanges <bool>] [-AllowPublishingChanges <bool>] [-AllowSessionManagement <bool>] [-AllowSiteChanges <bool>] [-AllowViewReporting <bool>] [-AllowViewSiteInfo <bool>] [-Email <string>] [-Enable <bool>] [-FullPermissions <bool>] [-Mobile <string>] [-Permissions <PermissionType> {SiteAdmin | FarmAdmin | CustomAdmin}] [<CommonParameters>]

DESCRIPTION

The New-RASAdminAccount cmdlet is used to add 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

-Enable <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

-AdminNotification <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

-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: SiteAdmin, FarmAdmin, CustomAdmin

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

-AllowSiteChanges <bool>
Enables or disables the "Allow Site changes" option.

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

-AllowPublishingChanges <bool>
Enables or disables the "Allow Publishing changes" option.

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

-AllowConnectionChanges <bool>
Enables or disables the "Allow Connection changes" option.

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

-AllowViewReporting <bool>
Enables or disables the "Allow viewing of RAS Reporting" option.

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

-AllowViewSiteInfo <bool>
Enables or disables the "Allow viewing of Site Information" option.

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

-AllowSessionManagement <bool>
Enables or disables the "Allow Session Management" option.

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

-AllowClientManagementChanges <bool>
Enables or disables the "Allow Client Management changes" option.

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

-AllowPolicyChanges <bool>
Enables or disables the "Allow Policy changes" option.

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

-AllowAllSites <bool>
Enables or disables the "All Sites" option. If enabled, the administrator can manage all sites in the farm.

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

-AllowInSite <Site[]>
Specifies the list of site names (string array) which this administrator should be allowed to manage.

        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

PSAdmin.RASAdmin

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.

Sets 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