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

Module PSWriteHTML

Creates a new HTML Wizard Color configuration.

Syntax

New-HTMLWizardColor [[-AnchorActivePrimaryColor] <String>] [[-AnchorActiveSecondaryColor] <String>] [[-AnchorDefaultPrimaryColor] <String>] [[-AnchorDefaultSecondaryColor] <String>] [[-AnchorDisabledPrimaryColor] <String>] [[-AnchorDisabledSecondaryColor] <String>] [[-AnchorDonePrimaryColor] <String>] [[-AnchorDoneSecondaryColor] <String>] [[-AnchorErrorPrimaryColor] <String>] [[-AnchorErrorSecondaryColor] <String>] [[-AnchorWarningPrimaryColor] <String>] [[-AnchorWarningSecondaryColor] <String>] [[-BorderColor] <String>] [[-LoaderBackgroundColor] <String>] [[-LoaderBackgroundWrapperColor] <String>] [[-LoaderColor] <String>] [[-ProgressBackgroundColor] <String>] [[-ProgressColor] <String>] [[-ToolbarBtnBackgroundColor] <String>] [[-ToolbarBtnColor] <String>] [<CommonParameters>]
#
Parameter set: All Parameter Sets

Description

This function creates a new HTML Wizard Color configuration with customizable color settings for various elements in the wizard interface.

Examples

Authored help example

EXAMPLE 1

New-HTMLWizardColor -BorderColor "#FF0000" -ToolbarBtnColor "#00FF00" -ToolbarBtnBackgroundColor "#0000FF"
Creates a new HTML Wizard Color configuration with specified border, toolbar button text, and toolbar button background colors.

Parameters

-AnchorActivePrimaryColor String optionalposition: 5
Specifies the primary color for active anchor elements.
-AnchorActiveSecondaryColor String optionalposition: 6
Specifies the secondary color for active anchor elements.
-AnchorDefaultPrimaryColor String optionalposition: 3
Specifies the primary color for default anchor elements.
-AnchorDefaultSecondaryColor String optionalposition: 4
Specifies the secondary color for default anchor elements.
-AnchorDisabledPrimaryColor String optionalposition: 9
Specifies the primary color for disabled anchor elements.
-AnchorDisabledSecondaryColor String optionalposition: 10
Specifies the secondary color for disabled anchor elements.
-AnchorDonePrimaryColor String optionalposition: 7
Specifies the primary color for completed anchor elements.
-AnchorDoneSecondaryColor String optionalposition: 8
Specifies the secondary color for completed anchor elements.
-AnchorErrorPrimaryColor String optionalposition: 11
Specifies the primary color for anchor elements in error state.
-AnchorErrorSecondaryColor String optionalposition: 12
Specifies the secondary color for anchor elements in error state.
-AnchorWarningPrimaryColor String optionalposition: 13
Specifies the primary color for anchor elements in warning state.
-AnchorWarningSecondaryColor String optionalposition: 14
Specifies the secondary color for anchor elements in warning state.
-BorderColor String optionalposition: 0
Specifies the color for the border of the wizard interface.
-LoaderBackgroundColor String optionalposition: 18
Specifies the background color for the loader animation.
-LoaderBackgroundWrapperColor String optionalposition: 19
Specifies the background color for the loader animation wrapper.
-LoaderColor String optionalposition: 17
Specifies the color for the loader animation.
-ProgressBackgroundColor String optionalposition: 16
Specifies the background color for the progress indicator.
-ProgressColor String optionalposition: 15
Specifies the color for the progress indicator.
-ToolbarBtnBackgroundColor String optionalposition: 2
Specifies the background color for the toolbar buttons.
-ToolbarBtnColor String optionalposition: 1
Specifies the color for the toolbar button text.

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.