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

Example 1

An example script from the PSWriteHTML repository.

Import-Module .\PSWriteHTML.psd1 -Force

$Allusers = Get-ADUser -Filter * | Select-Object -First 10

New-HTML -TitleText $ReportTitle -Online -FilePath "$PSScriptRoot\Example1.html" {
    New-HTMLSection -Invisible {
        New-HTMLSection -HeaderText "Groups 1" {
            New-HTMLPanel {
                New-HTMLTable -DataTable $Allusers -Buttons searchPanes
            }
        }
        New-HTMLSection -HeaderText "Groups 2" {

        }
    }
} -ShowHTML