Project

PSWriteHTML

PSWriteHTML is an open-source PowerShell project with packages, release history, and working documentation.

Stars1015
Forks112
Open issues54
PowerShell Gallery downloads7576901
Releasev1.41.0
Language: PowerShell Updated: 2026-08-10T20:00:10.0000000+00:00

Curated Examples

Example Chartsbardonuts

Source-owned example maintained with PSWriteHTML.


New-HTML {

    New-HTMLSection -HeaderText 'Donut Charts - Defaults' -CanCollapse {
        New-HTMLPanel {
            New-HTMLChart -Gradient {
                New-ChartDonut -Name 'Test' -Value 20
                New-ChartDonut -Name 'Test1' -Value 30
                New-ChartDonut -Name 'Test2' -Value 40
                New-ChartDonut -Name 'Test1' -Value 30
                New-ChartDonut -Name 'Test2' -Value 40
            }
        }
        New-HTMLPanel {
            New-HTMLChart -Gradient {
                New-ChartDonut -Name 'Test' -Value 20
                New-ChartDonut -Name 'Test1' -Value 30
                New-ChartDonut -Name 'Test2' -Value 40
                New-ChartDonut -Name 'Test1' -Value 30
                New-ChartDonut -Name 'Test2' -Value 40
            }
        }
        New-HTMLPanel {
            New-HTMLChart -Gradient {
                New-ChartDonut -Name 'Test' -Value 20
                New-ChartDonut -Name 'Test1' -Value 30
                New-ChartDonut -Name 'Test2' -Value 40
                New-ChartDonut -Name 'Test1' -Value 30
                New-ChartDonut -Name 'Test2' -Value 40
            }
        }
    }
} -ShowHTML -FilePath $PSScriptRoot\Example-ChartsBarDonuts.html -Online