Project

PSWriteHTML

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

Stars 1,019
Forks 115
Open issues 54
PowerShell Gallery downloads 7,576,901
Release v1.41.0
Language: PowerShell Updated: 2026-10-03
Command

New-HTMLWizardStep

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>]
#
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>]
#
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>]
#
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

Authored help example

EXAMPLE 1

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

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.