# Set-RASAdminAccount

### NAME

Set-RASAdminAccount\ <br>

### SYNOPSIS

Modifies Parallels RAS administrator account settings.\ <br>

### SYNTAX

Set-RASAdminAccount \[-[Id](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/Set-RASAdminAccount.html#Id)] *\<uint>* \[-[AllowAllSites](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/Set-RASAdminAccount.html#AllowAllSites) *\<bool>*] \[-[AllowConnectionChanges](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/Set-RASAdminAccount.html#AllowConnectionChanges) *\<bool>*] \[-[AllowDeviceManagementChanges](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/Set-RASAdminAccount.html#AllowDeviceManagementChanges) *\<bool>*] \[-[AllowInSites](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/Set-RASAdminAccount.html#AllowInSites) *<*[*Site\[\]*](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/types/Site.html)*>*] \[-[AllowPolicyChanges](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/Set-RASAdminAccount.html#AllowPolicyChanges) *\<bool>*] \[-[AllowPublishingChanges](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/Set-RASAdminAccount.html#AllowPublishingChanges) *\<bool>*] \[-[AllowSessionManagement](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/Set-RASAdminAccount.html#AllowSessionManagement) *\<bool>*] \[-[AllowSiteChanges](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/Set-RASAdminAccount.html#AllowSiteChanges) *\<bool>*] \[-[AllowViewingPolicyInfo](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/Set-RASAdminAccount.html#AllowViewingPolicyInfo) *\<bool>*] \[-[AllowViewingReportingInfo](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/Set-RASAdminAccount.html#AllowViewingReportingInfo) *\<bool>*] \[-[AllowViewingSiteInfo](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/Set-RASAdminAccount.html#AllowViewingSiteInfo) *\<bool>*] \[-[Email](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/Set-RASAdminAccount.html#Email) *\<string>*] \[-[Enabled](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/Set-RASAdminAccount.html#Enabled) *\<bool>*] \[-[FullPermissions](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/Set-RASAdminAccount.html#FullPermissions) *\<bool>*] \[-[Mobile](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/Set-RASAdminAccount.html#Mobile) *\<string>*] \[-[Notify](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/Set-RASAdminAccount.html#Notify) {None | Email}] \[-[Permissions](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/Set-RASAdminAccount.html#Permissions) {PowerAdmin | RootAdmin | CustomAdmin}] \[*<*[*CommonParameters*](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/Set-RASAdminAccount.html#CommonParameters)*>*]\
\
Set-RASAdminAccount \[-[InputObject](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/Set-RASAdminAccount.html#InputObject)] *<*[*AdminAccount*](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/types/AdminAccount.html)*>* \[-[AllowAllSites](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/Set-RASAdminAccount.html#AllowAllSites) *\<bool>*] \[-[AllowConnectionChanges](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/Set-RASAdminAccount.html#AllowConnectionChanges) *\<bool>*] \[-[AllowDeviceManagementChanges](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/Set-RASAdminAccount.html#AllowDeviceManagementChanges) *\<bool>*] \[-[AllowInSites](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/Set-RASAdminAccount.html#AllowInSites) *<*[*Site\[\]*](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/types/Site.html)*>*] \[-[AllowPolicyChanges](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/Set-RASAdminAccount.html#AllowPolicyChanges) *\<bool>*] \[-[AllowPublishingChanges](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/Set-RASAdminAccount.html#AllowPublishingChanges) *\<bool>*] \[-[AllowSessionManagement](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/Set-RASAdminAccount.html#AllowSessionManagement) *\<bool>*] \[-[AllowSiteChanges](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/Set-RASAdminAccount.html#AllowSiteChanges) *\<bool>*] \[-[AllowViewingPolicyInfo](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/Set-RASAdminAccount.html#AllowViewingPolicyInfo) *\<bool>*] \[-[AllowViewingReportingInfo](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/Set-RASAdminAccount.html#AllowViewingReportingInfo) *\<bool>*] \[-[AllowViewingSiteInfo](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/Set-RASAdminAccount.html#AllowViewingSiteInfo) *\<bool>*] \[-[Email](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/Set-RASAdminAccount.html#Email) *\<string>*] \[-[Enabled](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/Set-RASAdminAccount.html#Enabled) *\<bool>*] \[-[FullPermissions](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/Set-RASAdminAccount.html#FullPermissions) *\<bool>*] \[-[Mobile](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/Set-RASAdminAccount.html#Mobile) *\<string>*] \[-[Notify](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/Set-RASAdminAccount.html#Notify) {None | Email}] \[-[Permissions](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/Set-RASAdminAccount.html#Permissions) {PowerAdmin | RootAdmin | CustomAdmin}] \[*<*[*CommonParameters*](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/Set-RASAdminAccount.html#CommonParameters)*>*]\
\
Set-RASAdminAccount \[\[-[Name](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/Set-RASAdminAccount.html#Name)] *\<string>*] \[-[AllowAllSites](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/Set-RASAdminAccount.html#AllowAllSites) *\<bool>*] \[-[AllowConnectionChanges](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/Set-RASAdminAccount.html#AllowConnectionChanges) *\<bool>*] \[-[AllowDeviceManagementChanges](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/Set-RASAdminAccount.html#AllowDeviceManagementChanges) *\<bool>*] \[-[AllowInSites](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/Set-RASAdminAccount.html#AllowInSites) *<*[*Site\[\]*](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/types/Site.html)*>*] \[-[AllowPolicyChanges](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/Set-RASAdminAccount.html#AllowPolicyChanges) *\<bool>*] \[-[AllowPublishingChanges](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/Set-RASAdminAccount.html#AllowPublishingChanges) *\<bool>*] \[-[AllowSessionManagement](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/Set-RASAdminAccount.html#AllowSessionManagement) *\<bool>*] \[-[AllowSiteChanges](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/Set-RASAdminAccount.html#AllowSiteChanges) *\<bool>*] \[-[AllowViewingPolicyInfo](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/Set-RASAdminAccount.html#AllowViewingPolicyInfo) *\<bool>*] \[-[AllowViewingReportingInfo](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/Set-RASAdminAccount.html#AllowViewingReportingInfo) *\<bool>*] \[-[AllowViewingSiteInfo](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/Set-RASAdminAccount.html#AllowViewingSiteInfo) *\<bool>*] \[-[Email](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/Set-RASAdminAccount.html#Email) *\<string>*] \[-[Enabled](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/Set-RASAdminAccount.html#Enabled) *\<bool>*] \[-[FullPermissions](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/Set-RASAdminAccount.html#FullPermissions) *\<bool>*] \[-[Mobile](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/Set-RASAdminAccount.html#Mobile) *\<string>*] \[-[Notify](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/Set-RASAdminAccount.html#Notify) {None | Email}] \[-[Permissions](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/Set-RASAdminAccount.html#Permissions) {PowerAdmin | RootAdmin | CustomAdmin}] \[*<*[*CommonParameters*](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/Set-RASAdminAccount.html#CommonParameters)*>*]\ <br>

### DESCRIPTION

Modifies settings of a Parallels RAS administrator account.\
\
For each setting, the cmdlet has a corresponding input parameter. To modify a setting, specify a corresponding parameter and its value.\ <br>

### PARAMETERS

\
-**Name \<string>**\
Parallels RAS administrator user or group name.\ <br>

```
        Required?                    false
```

```
        Position?                    0
```

```
        Default value                
```

```
        Accept pipeline input?       false
```

```
        Accept wildcard characters?  false
```

\
-**Id \<uint>**\
Parallels RAS administrator account ID.\
\
To obtain the ID, use the Get-RASAdminAccount cmdlet.\ <br>

```
        Required?                    true
```

```
        Position?                    0
```

```
        Default value                0
```

```
        Accept pipeline input?       false
```

```
        Accept wildcard characters?  false
```

\
-**InputObject <**[**AdminAccount**](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/types/AdminAccount.html)**>**\
An object representing a Parallels RAS administrator account.\
\
To obtain the object, use the Get-RASAdminAccount command."\ <br>

```
        Required?                    true
```

```
        Position?                    0
```

```
        Default value                
```

```
        Accept pipeline input?       true (ByValue)
```

```
        Accept wildcard characters?  false
```

\
-**Email \<string>**\
Parallels RAS administrator email address.\ <br>

```
        Required?                    false
```

```
        Position?                    named
```

```
        Default value                
```

```
        Accept pipeline input?       false
```

```
        Accept wildcard characters?  false
```

\
-**Mobile \<string>**\
Parallels RAS administrator mobile phone number.\ <br>

```
        Required?                    false
```

```
        Position?                    named
```

```
        Default value                
```

```
        Accept pipeline input?       false
```

```
        Accept wildcard characters?  false
```

\
-**Enabled \<bool>**\
Enable or disable the specified administrator account.\ <br>

```
        Required?                    false
```

```
        Position?                    named
```

```
        Default value                
```

```
        Accept pipeline input?       false
```

```
        Accept wildcard characters?  false
```

\
-**Notify <**[**AdminNotify**](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/types/AdminNotify.html)**>**\
Specifies a method for system notifications. Possible values are: "None", "Email".\
\
Possible values: None, Email\ <br>

```
        Required?                    false
```

```
        Position?                    named
```

```
        Default value                
```

```
        Accept pipeline input?       false
```

```
        Accept wildcard characters?  false
```

\
-**Permissions <**[**PermissionType**](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/types/PermissionType.html)**>**\
Type of Permission\
\
Possible values: PowerAdmin, RootAdmin, CustomAdmin\ <br>

```
        Required?                    false
```

```
        Position?                    named
```

```
        Default value                
```

```
        Accept pipeline input?       false
```

```
        Accept wildcard characters?  false
```

\
-**FullPermissions \<bool>**\
Whether to grant the specified administrator full permissions in the farm. If set to False, permissions can be set individually.\ <br>

```
        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.\ <br>

```
        Required?                    false
```

```
        Position?                    named
```

```
        Default value                
```

```
        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.\ <br>

```
        Required?                    false
```

```
        Position?                    named
```

```
        Default value                
```

```
        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.\ <br>

```
        Required?                    false
```

```
        Position?                    named
```

```
        Default value                
```

```
        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.\ <br>

```
        Required?                    false
```

```
        Position?                    named
```

```
        Default value                
```

```
        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.\ <br>

```
        Required?                    false
```

```
        Position?                    named
```

```
        Default value                
```

```
        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.\ <br>

```
        Required?                    false
```

```
        Position?                    named
```

```
        Default value                
```

```
        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.\ <br>

```
        Required?                    false
```

```
        Position?                    named
```

```
        Default value                
```

```
        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.\ <br>

```
        Required?                    false
```

```
        Position?                    named
```

```
        Default value                
```

```
        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.\ <br>

```
        Required?                    false
```

```
        Position?                    named
```

```
        Default value                
```

```
        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. Otherwise, sites can be specified individually.\ <br>

```
        Required?                    false
```

```
        Position?                    named
```

```
        Default value                
```

```
        Accept pipeline input?       false
```

```
        Accept wildcard characters?  false
```

\
-**AllowInSites <**[**Site\[\]**](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/types/Site.html)**>**\
Deprecated: use 'Set-RASPowerPermission' to set power admin permissions.\
\
A list of site names (a string array) which the administrator should be allowed to manage.\ <br>

```
        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 . 
```

<br>

### INPUTS

[AdminAccount](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/types/AdminAccount.html)

### OUTPUTS

-none-

### EXAMPLES

\
\&#xNAN;**---------- EXAMPLE 1 ----------**\
\
Set-RASAdminAccount -Name "Jane" -Enable $False\
\
Disables the specified administrator account.\
\
\&#xNAN;**---------- EXAMPLE 2 ----------**\
\
Set-RASAdminAccount -Id 3 -Enable $False\
\
Disables an administrator account specified by ID.\
\
To obtain IDs of administrator accounts, use the Get-RASAdminAccount cmdlet.\
\&#xNAN;**---------- EXAMPLE 3 ----------**\
\
Set-RASAdminAccount $Admin -Enable $True\
\
Enables an administrator account specified by the $Admin variable, which is an object of type RASAdminAccount.\
\
The object is obtained using the Get-RASAdminAccount cmdlet.\
\&#xNAN;**---------- EXAMPLE 4 ----------**\
\
Get-RASAdminAccount -Id 3 | Set-RASAdminAccount -Enable $True\
\
Enables an administrator account represented by a RASAdminAccount object obtained from the pipeline output.
