# ImageOptimization Class

### NAMESPACE

RASAdminEngine.Core.OutputModels.ImagesOptimization

### DESCRIPTION

Image Optimization

### INHERITED FROM

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

### INTERFACES

* ISerializable
* IComparable

### PUBLIC PROPERTIES

| Type                                                                                                                                                      | Name                          | Description |                                                    |
| --------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------- | ----------- | -------------------------------------------------- |
| [CustomScript](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/types/CustomScript.html)                     | CustomScript                  |             | Custom Script                                      |
| Boolean                                                                                                                                                   | CustomScriptEnabled           |             | Whether Custom Script is enabled or not            |
| [DiskCleanup](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/types/DiskCleanup.html)                       | DiskCleanup                   |             | Disk Cleanup                                       |
| Boolean                                                                                                                                                   | DiskCleanupEnabled            |             | Whether Disk Cleanup is enabled or not             |
| Boolean                                                                                                                                                   | EnableOptimization            |             | Whether Optimization is enabled or not             |
| [NetworkPerformance](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/types/NetworkPerformance.html)         | NetworkPerformance            |             | Network Performance                                |
| Boolean                                                                                                                                                   | NetworkPerformanceEnabled     |             | Whether Network Performance is enabled or not      |
| [OptimizationTypeEnum](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/types/OptimizationTypeEnum.html)     | OptimizationType              |             | Optimization Type                                  |
| [Registries](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/types/Registries.html)                         | Registry                      |             | Registry                                           |
| Boolean                                                                                                                                                   | RegistryEnabled               |             | Whether Registry is enabled or not                 |
| [UWPApps](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/types/UWPApps.html)                               | UWPApps                       |             | UWP Applications                                   |
| [VisualEffects](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/types/VisualEffects.html)                   | VisualEffects                 |             | Visual Effects                                     |
| Boolean                                                                                                                                                   | VisualEffectsEnabled          |             | Whether Visual Effects is enabled or not           |
| [WindowsAdvancedOptions](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/types/WindowsAdvancedOptions.html) | WindowsAdvancedOptions        |             | Windows Advanced Options                           |
| Boolean                                                                                                                                                   | WindowsAdvancedOptionsEnabled |             | Whether Windows Advanced Options is enabled or not |
| [WindowsComponents](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/types/WindowsComponents.html)           | WindowsComponents             |             | Windows Components                                 |
| Boolean                                                                                                                                                   | WindowsComponentsEnabled      |             | Whether Windows Components is enabled or not       |
| [WindowsDefenderATP](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/types/WindowsDefenderATP.html)         | WindowsDefenderATP            |             | Windows Defender ATP                               |
| Boolean                                                                                                                                                   | WindowsDefenderATPEnabled     |             | Whether Windows Defender ATP is enabled or not     |
| [WindowsScheduledTasks](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/types/WindowsScheduledTasks.html)   | WindowsScheduledTasks         |             | Windows Scheduled Tasks                            |
| Boolean                                                                                                                                                   | WindowsScheduledTasksEnabled  |             | Whether Windows Scheduled Task is enabled or not   |
| [WindowsServices](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/types/WindowsServices.html)               | WindowsServices               |             | Windows Services                                   |
| Boolean                                                                                                                                                   | WindowsServicesEnabled        |             | Whether Windows Services is enabled or not         |

### PUBLIC METHODS

| Type    | Name                   | Description                                                                                                                                                    |   |
| ------- | ---------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------- | - |
| Int32   | CompareTo (Object obj) | Inherited from [RASSerilazableObj](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/types/RASSerilazableObj.html) |   |
| Boolean | Equals (Object obj)    | Inherited from [RASSerilazableObj](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/types/RASSerilazableObj.html) |   |
| Int32   | GetHashCode ()         | Inherited from [RASSerilazableObj](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/types/RASSerilazableObj.html) |   |
| Type    | GetType ()             |                                                                                                                                                                |   |
| String  | ToString ()            |                                                                                                                                                                |   |


---

# Agent Instructions: Querying This Documentation

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

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.parallels.com/landing/ras-powershell-api-guide/v19/parallels-ras-powershell-admin-module/class/imageoptimization-class.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
