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 QR02

Source-owned example maintained with PSWriteHTML.

Import-Module .\PSWriteHTML.psd1 -Force

New-HTML -Online -FilePath $PSScriptRoot\Example-QR02.html {
    New-HTMLSection -Invisible {
        New-HTMLPanel {
            New-HTMLQRCode -Link 'https://evotec.xyz'
        }
        New-HTMLPanel {
            New-HTMLQRCode -Link 'https://evotec.xyz' -Height 250 -Width 250 -Logo 'https://evotec.xyz/wp-content/uploads/2015/05/Logo-evotec-012.png' -LogoWidth 100 -LogoInline
        }
    }
    # Unfortunetly this table when defined outside of New-HTML won't work, not yet - would need to think on new solution
    $Table = @(
        [PSCustomObject] @{
            ComputerName = 'EvoWin'
            QRCode       = New-HTMLQRCode -Link 'https://evotec.xyz/EvoWin' -Height 50 -Width 50 -Title 'Evotec' -TitleColor Red
        }
        [PSCustomObject] @{
            ComputerName = 'EvoMac'
            QRCode       = New-HTMLQRCode -Link 'https://evotec.xyz/EvoMac' -Height 50 -Width 50 -Logo 'https://evotec.xyz/wp-content/uploads/2015/05/Logo-evotec-012.png'
        }
    )
    New-HTMLTable -DataTable $Table -Filtering -InvokeHTMLTags
} -ShowHTML