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

Charts Bar Color

An example script from the PSWriteHTML repository.

Import-Module .\PSWriteHTML.psd1 -Force

New-HTML -TitleText 'My title' -Online -FilePath $PSScriptRoot\Example-ChartsBarColor.html {
    New-HTMLPanel {
        New-HTMLChart {
            New-ChartToolbar -Download
            New-ChartLegend -Name 'Time', 'Money', 'Taxes' -Color '#024DA1', '#AFD135', Green
            New-ChartBar -Name 'Test' -Value 1, 2, 3
            New-ChartBar -Name 'Test1' -Value 2, 5, 7
            New-ChartBar -Name 'Test2' -Value 3, 1, 2
            New-ChartDesign -GradientInverseColors:$false
        } -Title 'Testing Title' -TitleAlignment center -Gradient
    }
} -Show #-Format