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 Statuspage01

Source-owned example maintained with PSWriteHTML.

Import-Module .\PSWriteHTML.psd1 -Force


New-HTML -TitleText 'Services Status' -Online:$false -FilePath $PSScriptRoot\StatusPage01.html {
    New-HTMLSection -Invisible {
        New-HTMLPanel -Invisible {
            New-HTMLToast -TextHeader 'Information' -Text 'Everything is running smoothly!' -BarColorLeft Blue -IconSolid info-circle -IconColor Blue
            New-HTMLToast -TextHeader 'Information' -Text 'Everything is running smoothly!' -BarColorLeft Orange -IconSolid tablet  -IconColor Orange
            New-HTMLToast -TextHeader 'Information' -Text 'Everything is running smoothly!' -BarColorLeft Blue -IconSolid info-circle -IconColor Blue
        }
        New-HTMLPanel -Invisible {
            New-HTMLTimeline {
                New-HTMLTimelineItem -HeadingText 'Azure AD is down' -Text "We have huge problems" -Date (Get-Date).AddDays(-1)
                New-HTMLTimelineItem -HeadingText 'Azure AD ...' -Text "We have huge problems" -Date (Get-Date).AddDays(-2)
                New-HTMLTimelineItem -HeadingText 'AD just died' -Text "We have huge problems" -Date (Get-Date).AddDays(-3) -Color Red
            }
        }
    }
} -ShowHTML