# New-HTMLWizardStep

Creates a new HTML wizard step with customizable options.

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 wizard step with customizable options.

## Syntax

```
New-HTMLWizardStep
[-AnchorName <String>]
[[-Heading] <String>]
[[-HtmlData] <ScriptBlock>]
[-IconBrands <String>]
[-IconColor <String>]
[-IconSize <Object>]
[-Name <String>]
[-TextColor <String>]
[-TextSize <Object>]
[-TextTransform <uppercase|lowercase|capitalize>]
[<CommonParameters>]
```

[#](#method-new-htmlwizardstep-string-string-scriptblock-string-string-object-string-string-object-string)

Parameter set: `FontAwesomeBrands`

```
New-HTMLWizardStep
[-AnchorName <String>]
[[-Heading] <String>]
[[-HtmlData] <ScriptBlock>]
[-IconColor <String>]
[-IconSize <Object>]
[-IconSolid <String>]
[-Name <String>]
[-TextColor <String>]
[-TextSize <Object>]
[-TextTransform <uppercase|lowercase|capitalize>]
[<CommonParameters>]
```

[#](#method-new-htmlwizardstep-string-string-scriptblock-string-object-string-string-string-object-string)

Parameter set: `FontAwesomeSolid`

```
New-HTMLWizardStep
[-AnchorName <String>]
[[-Heading] <String>]
[[-HtmlData] <ScriptBlock>]
[-IconColor <String>]
[-IconRegular <String>]
[-IconSize <Object>]
[-Name <String>]
[-TextColor <String>]
[-TextSize <Object>]
[-TextTransform <uppercase|lowercase|capitalize>]
[<CommonParameters>]
```

[#](#method-new-htmlwizardstep-string-string-scriptblock-string-string-object-string-string-object-string-2)

Parameter set: `FontAwesomeRegular`

## Description

This function creates a new HTML wizard step with various customization options such as setting the HTML data, tab heading, tab name, and icons.

## Examples

### Example 1

```powershell
New-HTMLWizardStep -HtmlData { Get-Content -Path "C:\example.html" } -Heading "Step 1" -Name "First Tab" -IconBrands "fa fa-facebook"
```

Creates a new HTML wizard step with the specified HTML data, tab heading, tab name, and FontAwesome Brands icon.

### Example 2

```powershell
New-HTMLWizardStep -HtmlData { Get-Content -Path "C:\another.html" } -Heading "Step 2" -Name "Second Tab" -IconRegular "fa fa-github"
```

Creates a new HTML wizard step with the specified HTML data, tab heading, tab name, and FontAwesome Regular icon.

## Parameters

**-AnchorName String optional**

**-Heading String optionalposition: 1aliases: TabHeading**

Specifies the heading text for the tab.

**-HtmlData ScriptBlock optionalposition: 0**

Specifies the HTML data to be displayed in the wizard step.

**-IconBrands String optionalsets: FontAwesomeBrands**

Specifies the icon for the tab from the FontAwesome Brands collection.

**-IconColor String optional**

**-IconSize Object optional**

**-Name String optionalaliases: TabName**

Specifies the name of the tab.

**-TextColor String optional**

**-TextSize Object optional**

**-TextTransform String optional**

Possible values: `uppercase`, `lowercase`, `capitalize`

**-IconSolid String optionalsets: FontAwesomeSolid**

Specifies the icon for the tab from the FontAwesome Solid collection.

**-IconRegular String optionalsets: FontAwesomeRegular**

Specifies the icon for the tab from the FontAwesome Regular collection.

## 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:7393BE05F1CA146F40606FEC4E45E884826C07411362B574C155EC7E06938F71 -->
