# Preview extension conversion

Preview extension conversion on Evotec with practical examples, usage guidance, and reusable project workflows.

Project

TheDashboard

TheDashboard is a PowerShell module that generates nice HTML dashboard that's main goal is to integrate multiple reports created by other PowerShell modules. It's main goal is to provide a single place to see all the information you need. It's not meant to be a replacement for other modules.

[View on GitHub](https://github.com/EvotecIT/TheDashboard) [Visit Website](#) [Releases](https://github.com/EvotecIT/TheDashboard/releases/tag/v0.0.42) [Changelog](#) [Get package](https://www.powershellgallery.com/packages/TheDashboard)

Stars**30**

Forks**7**

Open issues**0**

PowerShell Gallery downloads**8768**

Release**v0.0.45**

Language: PowerShell Updated: 2026-11-19

Curated Examples

Preview dashboard report extension conversion before changing files.

This pattern is useful when a publishing target expects a different static file extension, such as converting `.html` reports to `.aspx`.

It is adapted from `Examples/TheDashboardSharePointConversion.ps1`.

## Example

```powershell
Import-Module TheDashboard

$reportsRoot = Join-Path $PSScriptRoot 'Reports'

Repair-DashboardExtension -Path $reportsRoot -ExtensionFrom '.html' -ExtensionTo '.aspx' -WhatIf
Repair-DashboardExtension -Path $reportsRoot -ExtensionFrom '.aspx' -ExtensionTo '.html' -WhatIf
```

Remove `-WhatIf` only after the target folder and conversion direction are correct.

## What this demonstrates

- previewing file extension conversion
- keeping report paths script-local
- avoiding accidental bulk file changes during setup

## Source

- [TheDashboardSharePointConversion.ps1](https://github.com/EvotecIT/TheDashboard/blob/master/Examples/TheDashboardSharePointConversion.ps1)

<!-- PowerForge markdown artifact sha256:F7683D7BD2F8D38CE238DBFBFBAA893D7ED2B94E775D616E9C02014EF46A5B0E -->
