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-HTMLTimelineItem

Namespace PSWriteHTML

Creates a new HTML timeline item with specified date, heading text, content text, and color.

Remarks

This function generates an HTML timeline item with the provided information. It allows customization of the date, heading text, content text, and color of the timeline item.

Examples

Authored help example

EXAMPLE 1


New-HTMLTimelineItem -Date "2022-01-01" -HeadingText "Project Kickoff" -Text "Started the project development phase." -Color "Blue"
Creates a timeline item with a specific date, heading, content, and color.
        

EXAMPLE 2


New-HTMLTimelineItem -HeadingText "Meeting with Client" -Text "Discussed project requirements." -Color "Green"
Creates a timeline item with the current date, specified heading, content, and color.
        

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-HTMLTimelineItem [-Color <String>] [-Date <DateTime>] [-HeadingText <String>] [-Text <String>] [<CommonParameters>]
#
Parameter set: All Parameter Sets

Parameters

Color String optionalposition: 3pipeline: False
Specifies the color of the timeline item. If not provided, the default color is used.
Date DateTime optionalposition: 0pipeline: False
Specifies the date for the timeline item. Defaults to the current date if not specified.
HeadingText String optionalposition: 1pipeline: False
Specifies the heading text for the timeline item.
Text String optionalposition: 2pipeline: False
Specifies the content text for the timeline item.