# Set-RASCPUOptimizationSettings

## NAME

Set-RASCPUOptimizationSettings

## SYNOPSIS

Modifies Parallels RAS CPU optimization settings.

## SYNTAX

**Set-RASCPUOptimizationSettings** \[-[CPUExcludeList](#CPUExcludeList) _\<string\[]>_] \[-[CriticalUsage](#CriticalUsage) _\<uint>_] \[-[EnableCPUOptimization](#EnableCPUOptimization) _\<bool>_] \[-[IdleUsage](#IdleUsage) _\<uint>_] \[-[Replicate](#Replicate) _\<bool>_] \[-[SiteId](#SiteId) _\<uint>_] \[-[StartUsage](#StartUsage) _\<uint>_] \[_<_[_CommonParameters_](#CommonParameters)_>_]

## DESCRIPTION

The Set-RASCPUOptimizationSettings cmdlet modifies Parallels RAS CPU optimization settings using the specified parameters and their values.

All parameters are optional.

## PARAMETERS

-**CPUExcludeList \<string\[]>**\
Specifies items in the CPUExclude list.

```
        Required?                    false

        Position?                    named

        Default value                

        Accept pipeline input?       false

        Accept wildcard characters?  false
```

-**SiteId \<uint>**\
The site ID to which the RAS CPU Optimization settings refer.

```
        Required?                    false

        Position?                    named

        Default value                0

        Accept pipeline input?       false

        Accept wildcard characters?  false
```

-**StartUsage \<uint>**\
The CPU usage percentage above which the CPU Optimization will start working.

```
        Required?                    false

        Position?                    named

        Default value                

        Accept pipeline input?       false

        Accept wildcard characters?  false
```

-**CriticalUsage \<uint>**\
The CPU usage percentage above which a process will be set to idle priority.

```
        Required?                    false

        Position?                    named

        Default value                

        Accept pipeline input?       false

        Accept wildcard characters?  false
```

-**IdleUsage \<uint>**\
The CPU usage percentage below which a process will be set to realtime priority.

```
        Required?                    false

        Position?                    named

        Default value                

        Accept pipeline input?       false

        Accept wildcard characters?  false
```

-**EnableCPUOptimization \<bool>**\
Enables or disables the "CPU Optimization" option.

```
        Required?                    false

        Position?                    named

        Default value                

        Accept pipeline input?       false

        Accept wildcard characters?  false
```

-**Replicate \<bool>**\
Enables or disables the "Replicate settings" option (replicate settings to all sites).

```
        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-RASCPUOptimizationSettings -EnableCPUOptimization $true -StartUsage 25

Modifies the specified CPU optimization parameters.

## RELATED LINKS

* [Get-RASCPUOptimizationSettings](get-rascpuoptimizationsettings)
