> For the complete documentation index, see [llms.txt](https://docs.parallels.com/landing/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.parallels.com/landing/ras-powershell-api-guide/rasadmin/cmdlets/set-raspowerpermission.md).

# Set-RASPowerPermission

## SYNOPSIS

Modifies the permissions of a RAS Power admin account.

## SYNTAX

```powershell
Set-RASPowerPermission [-AdminId] <uint> [-AllowAllSites <bool>] [-AllowConnectionChanges <bool>]
 [-AllowDeviceManagementChanges <bool>] [-AllowFileAccessChanges <bool>] [-AllowInSiteIds <uint[]>]
 [-AllowInSites <Site[]>] [-AllowPolicyChanges <bool>] [-AllowPublishingChanges <bool>]
 [-AllowSessionManagement <bool>] [-AllowSiteChanges <bool>] [-AllowViewingCostInsights <bool>]
 [-AllowViewingLicenseInfo <bool>] [-AllowViewingMonitoringInfo <bool>]
 [-AllowViewingPolicyInfo <bool>] [-AllowViewingReportingInfo <bool>] [-AllowViewingSiteInfo <bool>]
 [<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.

## EXAMPLES

### Example 1

```powershell
Set-RASPowerPermission -AdminId 100 -AllowSiteChanges $false
```

Modifies AllowSiteChanged for AdminId 100 to False.

### Example 2

```powershell
Set-RASPowerPermission -AdminId 100 -AllowConnectionChanges $false
```

Modifies AllowConnectionChanges for AdminId 100 to False.

## PARAMETERS

### -AdminId

Admin ID to retrieve the specified RAS Power Administrator Account.

```yaml
Type: uint
Required: True
Position: 0
Default value: 0
Accept pipeline input: False
Accept wildcard characters: False
```

### -AllowSiteChanges

Enable or disable the "Allow Site changes" option.

```yaml
Type: bool
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
```

### -AllowPublishingChanges

Enable or disable the "Allow Publishing changes" option.

```yaml
Type: bool
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
```

### -AllowFileAccessChanges

Enable or disable the "Allow File Access changes" option.

```yaml
Type: bool
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
```

### -AllowConnectionChanges

Enable or disable the "Allow Connection changes" option.

```yaml
Type: bool
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
```

### -AllowViewingReportingInfo

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

```yaml
Type: bool
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
```

### -AllowViewingMonitoringInfo

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

```yaml
Type: bool
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
```

### -AllowViewingLicenseInfo

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

```yaml
Type: bool
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
```

### -AllowViewingSiteInfo

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

```yaml
Type: bool
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
```

### -AllowViewingPolicyInfo

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

```yaml
Type: bool
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
```

### -AllowViewingCostInsights

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

```yaml
Type: bool
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
```

### -AllowSessionManagement

Enable or disable the "Allow Session Management" option.

```yaml
Type: bool
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
```

### -AllowDeviceManagementChanges

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

```yaml
Type: bool
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
```

### -AllowPolicyChanges

Enable or disable the "Allow Policy changes" option.

```yaml
Type: bool
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
```

### -AllowAllSites

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

```yaml
Type: bool
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
```

### -AllowInSites

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

Type reference: [Site\[\]](https://docs.parallels.com/landing/ras-powershell-api-guide/rasadmin/types/site.md)

```yaml
Type: Site[]
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
```

### -AllowInSiteIds

A list of site ids (an integer array) which the administrator should be allowed to manage.

```yaml
Type: uint[]
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
```

### CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about\_CommonParameters](https://go.microsoft.com/fwlink/?LinkID=113216).

## INPUTS

### None

## OUTPUTS

### None

## RELATED LINKS

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


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.parallels.com/landing/ras-powershell-api-guide/rasadmin/cmdlets/set-raspowerpermission.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
