Evotec

Project

PSWriteHTML

PSWriteHTML is an open-source PowerShell project with packages, release history, and working documentation.

Stars 995
Forks 114
Open issues 69
PowerShell Gallery downloads 7,436,513
Release v1.41.0
Language: PowerShell Updated: 2026-04-11

API Reference

Function

New-HTMLPanelStyle

Aliases: New-HTMLPanelOption, New-PanelOption, New-PanelStyle
Namespace PSWriteHTML
Aliases
New-HTMLPanelOption New-PanelOption New-PanelStyle

Creates a new HTML panel style with customizable options.

Remarks

This function creates a new HTML panel style with the ability to set the border radius, remove shadow, and request configuration settings.

Examples

Authored help example

EXAMPLE 1


New-HTMLPanelStyle -BorderRadius '10px' -RemoveShadow
Creates a new HTML panel style with a border radius of 10px and removes the shadow.
        

EXAMPLE 2


New-HTMLPanelStyle -BorderRadius '15px' -RequestConfiguration
Creates a new HTML panel style with a border radius of 15px and requests the configuration settings.
        

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.

Syntax

New-HTMLPanelStyle [-BorderRadius <0px>] [-RemoveShadow] [-RequestConfiguration] [<CommonParameters>]
#
Parameter set: Manual

Parameters

BorderRadius String optionalposition: namedpipeline: Falsevalues: 6
Specifies the border radius for the HTML panel. Valid values are '0px', '5px', '10px', '15px', '20px', '25px'.
Possible values: 0px, 5px, 10px, 15px, 20px, 25px
RemoveShadow SwitchParameter optionalposition: namedpipeline: False
Indicates whether to remove the shadow from the HTML panel.
RequestConfiguration SwitchParameter optionalposition: namedpipeline: False
Specifies whether to request the configuration settings for the HTML panel.