Evotec

Project

PSWriteHTML

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

Stars 995
Forks 114
Open issues 69
PowerShell Gallery downloads 7,436,513
Release v1.41.0
Language: PowerShell Updated: 2026-04-11

API Reference

Function

New-HTMLTimeline

Namespace PSWriteHTML

Creates a new HTML timeline with customizable content.

Remarks

This function creates an HTML timeline with the specified content. The timeline can be used to display a sequence of events or steps in a visually appealing manner.

Examples

Authored help example

EXAMPLE 1


New-HTMLTimeline -Content {
    New-HTMLTag -Tag 'div' -Attributes @{ class = 'event' } -Value { "Event 1" }
    New-HTMLTag -Tag 'div' -Attributes @{ class = 'event' } -Value { "Event 2" }
    New-HTMLTag -Tag 'div' -Attributes @{ class = 'event' } -Value { "Event 3" }
}
        

Creates an HTML timeline with three events.

Common Parameters

This command supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable.

For more information, see about_CommonParameters.

Syntax

New-HTMLTimeline [-Content <ScriptBlock>] [<CommonParameters>]
#
Parameter set: All Parameter Sets

Parameters

Content ScriptBlock optionalposition: 0pipeline: Falsealiases: TimeLineItems
Specifies the content of the HTML timeline as a script block.