# New-RASAdminAccount

## NAME

New-RASAdminAccount

## SYNOPSIS

Adds a Parallels RAS administrator account to the farm.

## SYNTAX

**New-RASAdminAccount** \[-[Name](#Name)] _\<string>_ \[-[AllowAllSites](#AllowAllSites) _\<bool>_] \[-[AllowConnectionChanges](#AllowConnectionChanges) _\<bool>_] \[-[AllowDeviceManagementChanges](#AllowDeviceManagementChanges) _\<bool>_] \[-[AllowInSites](#AllowInSites) _<_[_Site\[\]_](../classes-and-enumerations/site)_>_] \[-[AllowPolicyChanges](#AllowPolicyChanges) _\<bool>_] \[-[AllowPublishingChanges](#AllowPublishingChanges) _\<bool>_] \[-[AllowSessionManagement](#AllowSessionManagement) _\<bool>_] \[-[AllowSiteChanges](#AllowSiteChanges) _\<bool>_] \[-[AllowViewingPolicyInfo](#AllowViewingPolicyInfo) _\<bool>_] \[-[AllowViewingReportingInfo](#AllowViewingReportingInfo) _\<bool>_] \[-[AllowViewingSiteInfo](#AllowViewingSiteInfo) _\<bool>_] \[-[Email](#Email) _\<string>_] \[-[Enabled](#Enabled) _\<bool>_] \[-[FullPermissions](#FullPermissions) _\<bool>_] \[-[Mobile](#Mobile) _\<string>_] \[-[Notify](#Notify) {None | Email}] \[-[Permissions](#Permissions) {PowerAdmin | RootAdmin | CustomAdmin}] \[_<_[_CommonParameters_](#CommonParameters)_>_]

**New-RASAdminAccount** \[-[SID](#SID)] _\<string>_ \[-[AllowAllSites](#AllowAllSites) _\<bool>_] \[-[AllowConnectionChanges](#AllowConnectionChanges) _\<bool>_] \[-[AllowDeviceManagementChanges](#AllowDeviceManagementChanges) _\<bool>_] \[-[AllowInSites](#AllowInSites) _<_[_Site\[\]_](../classes-and-enumerations/site)_>_] \[-[AllowPolicyChanges](#AllowPolicyChanges) _\<bool>_] \[-[AllowPublishingChanges](#AllowPublishingChanges) _\<bool>_] \[-[AllowSessionManagement](#AllowSessionManagement) _\<bool>_] \[-[AllowSiteChanges](#AllowSiteChanges) _\<bool>_] \[-[AllowViewingPolicyInfo](#AllowViewingPolicyInfo) _\<bool>_] \[-[AllowViewingReportingInfo](#AllowViewingReportingInfo) _\<bool>_] \[-[AllowViewingSiteInfo](#AllowViewingSiteInfo) _\<bool>_] \[-[Email](#Email) _\<string>_] \[-[Enabled](#Enabled) _\<bool>_] \[-[FullPermissions](#FullPermissions) _\<bool>_] \[-[Mobile](#Mobile) _\<string>_] \[-[Notify](#Notify) {None | Email}] \[-[Permissions](#Permissions) {PowerAdmin | RootAdmin | CustomAdmin}] \[_<_[_CommonParameters_](#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
```

-**SID \<string>**\
The SID 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>**\
Enables or disables this administrator in the farm.

```
        Required?                    false

        Position?                    named

        Default value                True

        Accept pipeline input?       false

        Accept wildcard characters?  false
```

-**Notify <**[**AdminNotify**](../classes-and-enumerations/adminnotify)**>**\
Set 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>**\
Enable or disable the "Full Permissions" option.

```
        Required?                    false

        Position?                    named

        Default value                True

        Accept pipeline input?       false

        Accept wildcard characters?  false
```

-**Permissions <**[**PermissionType**](../classes-and-enumerations/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
```

-**AllowSiteChanges \<bool>**\
Deprecated: use 'Set-RASPowerPermission' to set power admin permissions.

Enable or disable the "Allow Site changes" option.

```
        Required?                    false

        Position?                    named

        Default value                True

        Accept pipeline input?       false

        Accept wildcard characters?  false
```

-**AllowPublishingChanges \<bool>**\
Deprecated: use 'Set-RASPowerPermission' to set power admin permissions.

Enable or disable the "Allow Publishing changes" option.

```
        Required?                    false

        Position?                    named

        Default value                True

        Accept pipeline input?       false

        Accept wildcard characters?  false
```

-**AllowConnectionChanges \<bool>**\
Deprecated: use 'Set-RASPowerPermission' to set power admin permissions.

Enable or disable the "Allow Connection changes" option.

```
        Required?                    false

        Position?                    named

        Default value                True

        Accept pipeline input?       false

        Accept wildcard characters?  false
```

-**AllowViewingReportingInfo \<bool>**\
Deprecated: use 'Set-RASPowerPermission' to set power admin permissions.

Enable or disable the "Allow viewing of RAS Reporting" option.

```
        Required?                    false

        Position?                    named

        Default value                True

        Accept pipeline input?       false

        Accept wildcard characters?  false
```

-**AllowViewingSiteInfo \<bool>**\
Deprecated: use 'Set-RASPowerPermission' to set power admin permissions.

Enable or disable the "Allow viewing of Site Information" option.

```
        Required?                    false

        Position?                    named

        Default value                True

        Accept pipeline input?       false

        Accept wildcard characters?  false
```

-**AllowViewingPolicyInfo \<bool>**\
Deprecated: use 'Set-RASPowerPermission' to set power admin permissions.

Enable or disable the "Allow viewing of Policy Information" option.

```
        Required?                    false

        Position?                    named

        Default value                True

        Accept pipeline input?       false

        Accept wildcard characters?  false
```

-**AllowSessionManagement \<bool>**\
Deprecated: use 'Set-RASPowerPermission' to set power admin permissions.

Enable or disable the "Allow Session Management" option.

```
        Required?                    false

        Position?                    named

        Default value                True

        Accept pipeline input?       false

        Accept wildcard characters?  false
```

-**AllowDeviceManagementChanges \<bool>**\
Deprecated: use 'Set-RASPowerPermission' to set power admin permissions.

Enable or disable the "Allow Device Management changes" option.

```
        Required?                    false

        Position?                    named

        Default value                True

        Accept pipeline input?       false

        Accept wildcard characters?  false
```

-**AllowPolicyChanges \<bool>**\
Deprecated: use 'Set-RASPowerPermission' to set power admin permissions.

Enable or disable the "Allow Policy changes" option.

```
        Required?                    false

        Position?                    named

        Default value                True

        Accept pipeline input?       false

        Accept wildcard characters?  false
```

-**AllowAllSites \<bool>**\
Deprecated: use 'Set-RASPowerPermission' to set power admin permissions.

Enable or disable 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
```

-**AllowInSites <**[**Site\[\]**](../classes-and-enumerations/site)**>**\
Deprecated: use 'Set-RASPowerPermission' to set power admin permissions.

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

[AdminAccount](../classes-and-enumerations/adminaccount)

## 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.\
&#xNAN;**---------- 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

* [Get-RASAdminAccount](get-rasadminaccount)
* [Set-RASAdminAccount](set-rasadminaccount)
* [Remove-RASAdminAccount](remove-rasadminaccount)
* [Get-RASCustomPermission](get-rascustompermission)
* [Set-RASCustomPermission](set-rascustompermission)
* [Get-RASPowerPermission](get-raspowerpermission)
* [Set-RASPowerPermission](set-raspowerpermission)
