Project

PSWriteHTML

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

Stars1024
Forks115
Open issues54
PowerShell Gallery downloads7576901
Releasev1.45.0
Language: PowerShell Updated: 2026-11-13

Curated Examples

Formatting

An example script from the PSWriteHTML repository.

Import-Module PSParseHTML -Force

New-HTML -Online {

} -FilePath $PSScriptRoot\Output\TestWithoutFormat.html

New-HTML -Online {

} -FilePath $PSScriptRoot\Output\TestWithFormat.html -Format

New-HTML -Online {

} -FilePath $PSScriptRoot\Output\TestMinimize.html -Minify

#Format-HTML -File 'C:\Users\przemyslaw.klys\OneDrive - Evotec\Support\GitHub\PSWriteHTML\Examples\Example25-Toasts\Example25.html' -OutputFile $PSScriptRoot\Output\Example.Toasts.html
#Optimize-ResourceFile -File 'C:\Users\przemyslaw.klys\OneDrive - Evotec\Support\GitHub\PSWriteHTML\Resources\CSS\datatables.min.css' -OutputFile $PSScriptRoot\Output\Example.DataTables.css
#Optimize-ResourceFile -File 'C:\Users\przemyslaw.klys\OneDrive - Evotec\Support\GitHub\PSWriteHTML\Resources\JS\HideSection.js' -OutputFile $PSScriptRoot\Output\Example.HideSection.js
#Optimize-ResourceFile -File 'C:\Users\przemyslaw.klys\OneDrive - Evotec\Support\GitHub\PSWriteHTML\Resources\JS\jquery-3.3.1.min.js' -OutputFile $PSScriptRoot\Output\Example.Jquery.js