# New-HTMLPanelStyle

Creates a new HTML panel style 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 panel style with customizable options.

## Syntax

```
New-HTMLPanelStyle
[-BorderRadius <String>]
[-RemoveShadow]
[-RequestConfiguration]
[<CommonParameters>]
```

[#](#method-new-htmlpanelstyle-string-switchparameter-switchparameter)

Parameter set: `Manual`

## Description

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

## Examples

### Example 1

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

### Example 2

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

## Parameters

**-BorderRadius String optional**

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 optional**

Indicates whether to remove the shadow from the HTML panel.

**-RequestConfiguration SwitchParameter optional**

Specifies whether to request the configuration settings for the HTML panel.

## 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:6B45D90C4B936C7712D05B4539ADE9ED85CBA178A3B8756AA4B0A64F0D6F2847 -->
