# Set-RASPowerPermission

## NAME

Set-RASPowerPermission

## SYNOPSIS

Modifies the permissions of a RAS Power admin account.

## SYNTAX

**Set-RASPowerPermission** \[[AdminId](#adminid-string)] *(uint)* \[[AllowAllSites](#allowallsites-string) *(bool)*] \[[AllowConnectionChanges](#allowconnectionchanges-string) *(bool)*] \[[AllowDeviceManagementChanges](#allowdevicemanagementchanges-string) *(bool)*] \[-[AllowInSiteIds](#AllowInSiteIds) *(uint\[])*] \[-[AllowInSites](#AllowInSites) *(*[*Site\[\]*](https://docs.parallels.com/landing/ras-powershell-api-guide/parallels-ras-powershell-admin-module/types/site)*)*] \[[AllowPolicyChanges](#allowpolicychanges-string) *(bool)*] \[[AllowPublishingChanges](#allowpublishingchanges-string) *(bool)*] \[[AllowSessionManagement](#allowsessionmanagement-string) *(bool)*] \[[AllowSiteChanges](#allowsitechanges-string) *(bool)*] \[[AllowViewingCostInsights](#allowviewingcostinsights-string) *(bool)*] \[[AllowViewingLicenseInfo](#allowviewinglicenseinfo-string) *(bool)*] \[[AllowViewingMonitoringInfo](#allowviewingmonitoringinfo-string) *(bool)*] \[[AllowViewingPolicyInfo](#allowviewingpolicyinfo-string) *(bool)*] \[[AllowViewingReportingInfo](#allowviewingreportinginfo-string) *(bool)*] \[[AllowViewingSiteInfo](#allowviewingsiteinfo-string) *(bool)*] \[*(*[*CommonParameters*](#CommonParameters)*)*]

## DESCRIPTION

Modifies the permissions of a RAS Power admin account.

For each setting, the cmdlet has a corresponding input parameter. To modify a setting, specify a corresponding parameter and its value.

## PARAMETERS

## AdminId (uint)

Admin ID to retrieve the specified RAS Power Administrator Account.

```
        Required?                    true

        Position?                    0

        Default value                0

        Accept pipeline input?       false

        Accept wildcard characters?  false
```

## AllowSiteChanges (bool)

Enable or disable the "Allow Site changes" option.

```
        Required?                    false

        Position?                    named

        Default value                

        Accept pipeline input?       false

        Accept wildcard characters?  false
```

## AllowPublishingChanges (bool)

Enable or disable the "Allow Publishing changes" option.

```
        Required?                    false

        Position?                    named

        Default value                

        Accept pipeline input?       false

        Accept wildcard characters?  false
```

## AllowConnectionChanges (bool)

Enable or disable the "Allow Connection changes" option.

```
        Required?                    false

        Position?                    named

        Default value                

        Accept pipeline input?       false

        Accept wildcard characters?  false
```

## AllowViewingReportingInfo (bool)

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

```
        Required?                    false

        Position?                    named

        Default value                

        Accept pipeline input?       false

        Accept wildcard characters?  false
```

## AllowViewingMonitoringInfo (bool)

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

```
        Required?                    false

        Position?                    named

        Default value                

        Accept pipeline input?       false

        Accept wildcard characters?  false
```

## AllowViewingLicenseInfo (bool)

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

```
        Required?                    false

        Position?                    named

        Default value                

        Accept pipeline input?       false

        Accept wildcard characters?  false
```

## AllowViewingSiteInfo (bool)

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

```
        Required?                    false

        Position?                    named

        Default value                

        Accept pipeline input?       false

        Accept wildcard characters?  false
```

## AllowViewingPolicyInfo (bool)

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

```
        Required?                    false

        Position?                    named

        Default value                

        Accept pipeline input?       false

        Accept wildcard characters?  false
```

## AllowViewingCostInsights (bool)

Enable or disable the "Allow viewing of Cost Insights" option.

```
        Required?                    false

        Position?                    named

        Default value                

        Accept pipeline input?       false

        Accept wildcard characters?  false
```

## AllowSessionManagement (bool)

Enable or disable the "Allow Session Management" option.

```
        Required?                    false

        Position?                    named

        Default value                

        Accept pipeline input?       false

        Accept wildcard characters?  false
```

## AllowDeviceManagementChanges (bool)

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

```
        Required?                    false

        Position?                    named

        Default value                

        Accept pipeline input?       false

        Accept wildcard characters?  false
```

## AllowPolicyChanges (bool)

Enable or disable the "Allow Policy changes" option.

```
        Required?                    false

        Position?                    named

        Default value                

        Accept pipeline input?       false

        Accept wildcard characters?  false
```

## AllowAllSites (bool)

Enable or disable the "All Sites" option. If enabled, the administrator can manage all sites in the farm. Otherwise, sites can be specified individually.

```
        Required?                    false

        Position?                    named

        Default value                

        Accept pipeline input?       false

        Accept wildcard characters?  false
```

## AllowInSites ([Site\[\]](https://docs.parallels.com/landing/ras-powershell-api-guide/parallels-ras-powershell-admin-module/types/site))

A list of sites (a Site array) which the administrator should be allowed to manage.

```
        Required?                    false

        Position?                    named

        Default value                

        Accept pipeline input?       false

        Accept wildcard characters?  false
```

## AllowInSiteIds (uint\[])

A list of site ids (an integer array) which the 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

-none-

## EXAMPLES

**---------- EXAMPLE 1 ----------**

Set-RASPowerPermission -AdminId 100 -AllowSiteChanges $false

Modifies AllowSiteChanged for AdminId 100 to False.\
\&#xNAN;**---------- EXAMPLE 2 ----------**

Set-RASPowerPermission -AdminId 100 -AllowConnectionChanges $false

Modifies AllowConnectionChanges for AdminId 100 to False.

## RELATED LINKS

* [Get-RASPowerPermission](https://docs.parallels.com/landing/ras-powershell-api-guide/parallels-ras-powershell-admin-module/commands/get-raspowerpermission)
* [Get-RASAdminAccount](https://docs.parallels.com/landing/ras-powershell-api-guide/parallels-ras-powershell-admin-module/commands/get-rasadminaccount)
* [New-RASAdminAccount](https://docs.parallels.com/landing/ras-powershell-api-guide/parallels-ras-powershell-admin-module/commands/new-rasadminaccount)
* [Set-RASAdminAccount](https://docs.parallels.com/landing/ras-powershell-api-guide/parallels-ras-powershell-admin-module/commands/set-rasadminaccount)
* [Remove-RASAdminAccount](https://docs.parallels.com/landing/ras-powershell-api-guide/parallels-ras-powershell-admin-module/commands/remove-rasadminaccount)
