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

Chart Donut

An example script from the PSWriteHTML repository.

Import-Module .\PSWriteHTML.psd1 -Force

New-HTML {
    New-HTMLChart -Title 'OneDrive Utilization' -TitleAlignment center {
        New-ChartLegend -LegendPosition bottom
        New-ChartDonut -Name 'OneDrive Utilization' -Value 15 -Color '#6dbf88'
        New-ChartDonut -Name 'Not Utilized' -Value 20 -Color Yellow
    }
} -ShowHTML -FilePath $PSScriptRoot\Example-ChartDonut.html -Online