# Build a local dashboard

Build a local dashboard 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

Create a dashboard index over local report folders.

This pattern is useful when generated reports already exist under a local `Reports` folder and you want a browsable entry point.

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

## Example

```powershell
Import-Module TheDashboard

$reportsRoot = Join-Path $PSScriptRoot 'Reports'
$dashboardPath = Join-Path $reportsRoot 'Index.html'
$statisticsPath = Join-Path $PSScriptRoot 'Dashboard.xml'

Start-TheDashboard -HTMLPath $dashboardPath -StatisticsPath $statisticsPath -ShowHTML {
    $today = Get-Date

    New-DashboardGage -Label 'Reports' -MinValue 0 -MaxValue 100 -Value 12 -Date $today
    New-DashboardGage -Label 'Warnings' -MinValue 0 -MaxValue 100 -Value 3 -Date $today

    New-DashboardFolder -Name 'Active Directory' -IconBrands windows -UrlName 'ActiveDirectory' -Path (Join-Path $reportsRoot 'ActiveDirectory')
    New-DashboardFolder -Name 'Group Policy' -IconBrands microsoft -UrlName 'GroupPolicy' -Path (Join-Path $reportsRoot 'GroupPolicy')

    New-DashboardReplacement -SplitOn '_' -AddSpaceToName
    New-DashboardReplacement -AfterSplit @{
        'G P O' = 'GPO'
        'L D A P' = 'LDAP'
        'D C' = 'DC'
    }
    New-DashboardLimit -LimitItem 1 -IncludeHistory
}
```

The gage values above are placeholders. In a production dashboard, replace them with counts from your own report generation pipeline.

## What this demonstrates

- building a static dashboard page
- grouping report folders behind friendly labels
- cleaning generated report names without exposing environment-specific paths

## Source

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

<!-- PowerForge markdown artifact sha256:1160EDD93E159537B3B909DF84D394089EA5563457AFB112CD196A5430AAF053 -->
