# Example 27 07

Example 27 07 on Evotec with practical examples, usage guidance, and reusable project workflows.

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)

Stars**1025**

Forks**115**

Open issues**0**

PowerShell Gallery downloads**7576901**

Release**v1.45.0**

Language: PowerShell Updated: 2026-11-19

Curated Examples

An example script from the PSWriteHTML repository.

- Source repository: [https://github.com/EvotecIT/PSWriteHTML](https://github.com/EvotecIT/PSWriteHTML)
- Example group: `Example27-SectionsPanelsContainers`

```powershell
Import-Module $PSScriptRoot\..\..\PSWriteHTML.psd1 -Force

$Test1 = Get-Process | Select-Object -First 1 -Property Name, Id, PriorityClass

New-HTML -TitleText 'My title' -Online -FilePath $PSScriptRoot\Example27-07.html -Show {
    New-HTMLHeader {
        New-HTMLSection -Invisible {
            New-HTMLSection {
                New-HTMLAnchor -Href '#LastSection' -Text 'Link to last section'
            } -Invisible
            New-HTMLSection {
                New-HTMLAnchor -Href '#LastPanel' -Text 'Same link but to the right'
            } -Invisible -JustifyContent flex-end
        }
    }
    # New-HTMLMain is not nessecary but I like to use it when Header/Footer are present to distinguish how things are placed
    New-HTMLMain {
        New-HTMLTab -Name 'Tab 1' {
            New-HTMLSectionStyle -RemoveShadow -BorderRadius 0px
            New-HTMLSection -HeaderText 'Default Section Style' {
                New-HTMLTable -DataTable $Test1 -HideFooter
            }
        }
    }
}
```

<!-- PowerForge markdown artifact sha256:666A709146E30C9243C2D9B2423FFDE7A664BA001F2DEFAB2D86586BFDE76E26 -->
