> ## Documentation Index
> Fetch the complete documentation index at: https://docs.askui.com/llms.txt
> Use this file to discover all available pages before exploring further.

# AskUI-CompressErrorReport

### SYNOPSIS

Compresses an AskUI error report.

### DESCRIPTION

The AskUI-CompressErrorReport cmdlet creates a compressed archive of an expanded error report
identified by its GUID. The expanded report directory can optionally be preserved after compression.

### PARAMETERS

* `-ErrorReportGUID` | *\<String>* - Error report GUIDs to be compressed.
* `-SkipCleanup` | *\<SwitchParameter>* - Skip cleanup of the expanded error report directory.

### EXAMPLES

#### EXAMPLE 1

Compresses the error report with the specified GUID and removes the expanded directory.

```powershell theme={null}
AskUI-CompressErrorReport -ErrorReportGUID "550e8400-e29b-41d4-a716-446655440000"
```

#### EXAMPLE 2

Compresses the error report while preserving the expanded directory.

```powershell theme={null}
AskUI-CompressErrorReport -ErrorReportGUID "550e8400-e29b-41d4-a716-446655440000" -SkipCleanup
```
