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

Run Simplesttable01 Defaultsort

Source-owned example maintained with PSWriteHTML.

Import-Module .\PSWriteHTML.psd1 -Force

$PRocess = @(
    [PSCustomObject] @{ PRI = 1; ID =	7; Text = "Placeholder Text" }
    [PSCustomObject] @{ PRI = 1; ID =	5; Text = "Placeholder Text" }
    [PSCustomObject] @{ PRI = 2; ID =	4; Text = "Placeholder Text" }
    [PSCustomObject] @{ PRI = 2; ID =	2; Text = "Placeholder Text" }
    [PSCustomObject] @{ PRI = 3; ID =	1; Text = "Placeholder Text" }
    [PSCustomObject] @{ PRI = 3; ID =	6; Text = "Placeholder Text" }
    [PSCustomObject] @{ PRI = 3; ID =	3; Text = "Placeholder Text" }
)

Dashboard -Name 'Dashimo Test' -FilePath $PSScriptRoot\DashboardEasy01.html -Show {
    #Table -DataTable $Process -DefaultSortIndex 2 -ScrollCollapse -HideFooter -Buttons @()

    #Table -DataTable $Process -DefaultSortColumn 'PRI' -ScrollCollapse -HideFooter -Buttons @()

    #Table -DataTable $Process -DefaultSortColumn 'ID' -DefaultSortOrder Descending -ScrollCollapse -HideFooter -Buttons @()

    Table -DataTable $Process -DefaultSortColumn 'PRI', 'Id' -DefaultSortOrder Descending, Ascending -ScrollCollapse -HideFooter -Buttons @()

    Table -DataTable $Process -DefaultSortColumn 'PRI', 'Id' -DefaultSortOrder Descending, Descending -ScrollCollapse -HideFooter -Buttons @()
} -Online