> 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/parallels-ras-powershell-admin-module/types/imageoptimization.md).

# ImageOptimization

## NAMESPACE

RASAdminEngine.Core.OutputModels.ImagesOptimization

## DESCRIPTION

Image Optimization

## INHERITED FROM

[RASSerilazableObj](/landing/ras-powershell-api-guide/parallels-ras-powershell-admin-module/types/rasserilazableobj.md)

⇒

ImageOptimization

## INTERFACES

* ISerializable
* IComparable

## PUBLIC PROPERTIES

| Type                                                                                                                              | Name                          | Description                                        |
| --------------------------------------------------------------------------------------------------------------------------------- | ----------------------------- | -------------------------------------------------- |
| [CustomScript](/landing/ras-powershell-api-guide/parallels-ras-powershell-admin-module/types/customscript.md)                     | CustomScript                  | Custom Script                                      |
| Boolean                                                                                                                           | CustomScriptEnabled           | Whether Custom Script is enabled or not            |
| [DiskCleanup](/landing/ras-powershell-api-guide/parallels-ras-powershell-admin-module/types/diskcleanup.md)                       | DiskCleanup                   | Disk Cleanup                                       |
| Boolean                                                                                                                           | DiskCleanupEnabled            | Whether Disk Cleanup is enabled or not             |
| Boolean                                                                                                                           | EnableOptimization            | Whether Optimization is enabled or not             |
| [NetworkPerformance](/landing/ras-powershell-api-guide/parallels-ras-powershell-admin-module/types/networkperformance.md)         | NetworkPerformance            | Network Performance                                |
| Boolean                                                                                                                           | NetworkPerformanceEnabled     | Whether Network Performance is enabled or not      |
| [OptimizationTypeEnum](/landing/ras-powershell-api-guide/parallels-ras-powershell-admin-module/types/optimizationtypeenum.md)     | OptimizationType              | Optimization Type                                  |
| [Registries](/landing/ras-powershell-api-guide/parallels-ras-powershell-admin-module/types/registries.md)                         | Registry                      | Registry                                           |
| Boolean                                                                                                                           | RegistryEnabled               | Whether Registry is enabled or not                 |
| [UWPApps](/landing/ras-powershell-api-guide/parallels-ras-powershell-admin-module/types/uwpapps.md)                               | UWPApps                       | UWP Applications                                   |
| [VisualEffects](/landing/ras-powershell-api-guide/parallels-ras-powershell-admin-module/types/visualeffects.md)                   | VisualEffects                 | Visual Effects                                     |
| Boolean                                                                                                                           | VisualEffectsEnabled          | Whether Visual Effects is enabled or not           |
| [WindowsAdvancedOptions](/landing/ras-powershell-api-guide/parallels-ras-powershell-admin-module/types/windowsadvancedoptions.md) | WindowsAdvancedOptions        | Windows Advanced Options                           |
| Boolean                                                                                                                           | WindowsAdvancedOptionsEnabled | Whether Windows Advanced Options is enabled or not |
| [WindowsComponents](/landing/ras-powershell-api-guide/parallels-ras-powershell-admin-module/types/windowscomponents.md)           | WindowsComponents             | Windows Components                                 |
| Boolean                                                                                                                           | WindowsComponentsEnabled      | Whether Windows Components is enabled or not       |
| [WindowsDefenderATP](/landing/ras-powershell-api-guide/parallels-ras-powershell-admin-module/types/windowsdefenderatp.md)         | WindowsDefenderATP            | Windows Defender ATP                               |
| Boolean                                                                                                                           | WindowsDefenderATPEnabled     | Whether Windows Defender ATP is enabled or not     |
| [WindowsScheduledTasks](/landing/ras-powershell-api-guide/parallels-ras-powershell-admin-module/types/windowsscheduledtasks.md)   | WindowsScheduledTasks         | Windows Scheduled Tasks                            |
| Boolean                                                                                                                           | WindowsScheduledTasksEnabled  | Whether Windows Scheduled Task is enabled or not   |
| [WindowsServices](/landing/ras-powershell-api-guide/parallels-ras-powershell-admin-module/types/windowsservices.md)               | WindowsServices               | Windows Services                                   |
| Boolean                                                                                                                           | WindowsServicesEnabled        | Whether Windows Services is enabled or not         |

## PUBLIC METHODS

| Type                                                                                                                                                           | Name                    | Description                                                                                                                            |
| -------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------- | -------------------------------------------------------------------------------------------------------------------------------------- |
| Int32                                                                                                                                                          | CompareTo (Object obj)  | Inherited from [RASSerilazableObj](/landing/ras-powershell-api-guide/parallels-ras-powershell-admin-module/types/rasserilazableobj.md) |
| Boolean                                                                                                                                                        | Equals (Object obj)     | Inherited from [RASSerilazableObj](/landing/ras-powershell-api-guide/parallels-ras-powershell-admin-module/types/rasserilazableobj.md) |
| Int32                                                                                                                                                          | GetHashCode ()          | Inherited from [RASSerilazableObj](/landing/ras-powershell-api-guide/parallels-ras-powershell-admin-module/types/rasserilazableobj.md) |
| Type                                                                                                                                                           | GetType ()              | String                                                                                                                                 |
| ToString ()                                                                                                                                                    | ### References to Types |                                                                                                                                        |
| ----------------------------------------------------------------                                                                                               |                         |                                                                                                                                        |
| [RDSDefaultSettings](https://github.com/Parallels-Corp/DI-OPS-prls-docs/blob/master/ras/API-guides/v21-PowerShell-API/MD/RASAdmin/types/RDSDefaultSettings.md) |                         |                                                                                                                                        |
| [Template](https://github.com/Parallels-Corp/DI-OPS-prls-docs/blob/master/ras/API-guides/v21-PowerShell-API/MD/RASAdmin/types/Template.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/parallels-ras-powershell-admin-module/types/imageoptimization.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.
