# New-HTMLSummary

Creates a new HTML summary section with customizable content.

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 summary section with customizable content.

## Syntax

```
New-HTMLSummary
[[-SummaryItems] <ScriptBlock>]
[[-Title] <String>]
[[-TitleRight] <String>]
[<CommonParameters>]
```

[#](#method-new-htmlsummary-scriptblock-string-string)

Parameter set: `All Parameter Sets`

## Description

The New-HTMLSummary function creates an HTML summary section with customizable content. It allows you to display a summary with a title, additional information, and summary items.

## Examples

### Example 1

```powershell
New-HTMLSummary -SummaryItems {
    "Summary Item 1"
    "Summary Item 2"
} -Title "Summary Title" -TitleRight "Additional Info"
```

Creates a new HTML summary section with the title "Summary Title", displaying "Summary Item 1" and "Summary Item 2" as summary items, and additional information "Additional Info" on the right side of the title.

## Parameters

**-SummaryItems ScriptBlock optionalposition: 0**

Specifies the script block containing the summary items to be displayed within the summary section.

**-Title String optionalposition: 1**

Specifies the title of the summary section.

**-TitleRight String optionalposition: 2**

Specifies the additional information to be displayed on the right side of the title.

## 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:B841701B8D85936D360863DCF25FB2A8F49E61A23E96210280F271A131DD5F07 -->
