# New-HTMLTimelineItem

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

Project

PSWriteHTML

Generate HTML reports, dashboards, and emails from PowerShell without writing HTML, CSS, or JavaScript.

[View on GitHub](https://github.com/EvotecIT/PSWriteHTML) [Visit Website](#) [Releases](https://github.com/EvotecIT/PSWriteHTML/releases/tag/v1.41.0) [Changelog](#) [Get package](https://www.powershellgallery.com/packages/PSWriteHTML/1.40.0)

Stars **1,025**

Forks **114**

Open issues 

PowerShell Gallery downloads **7,576,901**

Release **v1.45.0**

Language: PowerShell Updated: 2026-11-19

Command 

**Module**

`PSWriteHTML`

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

## Syntax

```
New-HTMLTimelineItem
[[-Color] <String>]
[[-Date] <DateTime>]
[[-HeadingText] <String>]
[[-Text] <String>]
[<CommonParameters>]
```

[#](#method-new-htmltimelineitem-string-datetime-string-string)

Parameter set: `All Parameter Sets`

## Description

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

### Example 1

```powershell
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

```powershell
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.
```

## Parameters

**-Color String optionalposition: 3**

Specifies the color of the timeline item. If not provided, the default color is used.

**-Date DateTime optionalposition: 0**

Specifies the date for the timeline item. Defaults to the current date if not specified.

**-HeadingText String optionalposition: 1**

Specifies the heading text for the timeline item.

**-Text String optionalposition: 2**

Specifies the content text for the timeline item.

## 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](https://learn.microsoft.com/powershell/module/microsoft.powershell.core/about/about_commonparameters).

Evotec API Reference Copyright 2026 Evotec Services

<!-- PowerForge markdown artifact sha256:F6B6FB020417E659E891448AB976E6F73D5A9DA5B6E8357B9681167329785E3B -->
