# Export-UcmHTMLReport

{% hint style="info" %}
For a full overview, check [About UCM Reporting Cmdlets](https://docs.ucmadscientist.com/using-ucmpstools/cmdlet-reference/reporting-and-logging#about-ucm-reporting-cmdlets)
{% endhint %}

## Description

Grabs the data stored in the report object created by [Complete-UcmReport](https://docs.ucmadscientist.com/welcome-ucmpstools) and converts it to HTML By default, exports the current open report as an HTML in the current folder with the filename "$Title - $StartDate.html" You can change the path by editing $Global:HTMLReportFilename just before calling this function

## Filenames

by default, the filename is based on the **Title** parameter specified in [Initialize-UcmReport](https://docs.ucmadscientist.com/using-ucmpstools/cmdlet-reference/reporting-and-logging/initialize-ucmreport) and the time the report was initialized.\
To change the filename, update the following variable before calling the function

```powershell
$Global:HTMLReportFilename=".\$Title - $StartDate.html"
```

## Example

```powershell
Export-UcmHTMLReport
```

## Inputs

This function accepts no inputs

## Outputs

This function does not output anything to the pipeline
