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 Pie

An example script from the PSWriteHTML repository.

Import-Module .\PSWriteHTML.psd1 -Force

# Define HTML
New-HTML {
    New-HTMLSection {
        New-HTMLChart {
            New-ChartPie -Name 'Pie Part 1' -Value 20
            New-ChartPie -Name 'Pie Part 2' -Value 30
            New-ChartPie -Name 'Pie Part 3' -Value 40
        }
    }
} -ShowHTML -FilePath $PSScriptRoot\Example-ChartsPie.html -Online