Project

PSWriteHTML

Generate HTML reports, dashboards, and emails from PowerShell without writing HTML, CSS, or JavaScript.

Stars1017
Forks115
Open issues54
PowerShell Gallery downloads7576901
Releasev1.41.0
Language: PowerShell Updated: 2026-10-03

Curated Examples

Diagrams 02 Dashimo Style

An example script from the PSWriteHTML repository.

Import-Module .\PSWriteHTML.psd1 -Force

Dashboard -TitleText 'My charts' -Online -FilePath $PSScriptRoot\Example-Diagrams02_DashimoStyle.html {
    Diagram -Height 'calc(100vh - 20px)' {
        DiagramOptionsInteraction -Hover $true
        DiagramOptionsPhysics -Enabled $false
        DiagramNode -Label '1 test' -To '3', '6', '7' -ColorBackground Bisque
        DiagramNode -Label '2' -To '5', '1 test'
        DiagramNode -Label '3'
        DiagramNode -Label '4'
        DiagramNode -Label '5'
        DiagramNode -Label '6' -To '5' -ColorBorder Aquamarine -ColorBackground Yellow
        DiagramNode -Label '7' -To '5' -ColorHighlightBackground Red
        DiagramNode -Label '8' -To '5' -ColorHoverBorder Yellow
    }
} -ShowHTML