# Tree View 02

Tree View 02 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: `Example-TreeView`

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

New-HTML -TitleText 'This is a test' -FilePath "$PSScriptRoot\Example-TreeView02.html" {
    New-HTMLTree -Checkbox none {
        New-HTMLTreeNode -Title 'Power comes on' -Icon 'https://cdn-icons-png.flaticon.com/512/5610/5610944.png' {
            New-HTMLTreeNode -Title 'Live screen' -Icon 'https://cdn-icons-png.flaticon.com/512/5610/5610944.png' {
                New-HTMLTreeNode -Title 'New build' -Icon 'https://cdn-icons-png.flaticon.com/512/5610/5610944.png'
                New-HTMLTreeNode -Title '<b>No</b> new build' -Icon 'https://cdn-icons-png.flaticon.com/512/6939/6939131.png' {
                    New-HTMLTreeNode -Title 'Need two tries to boot' -Icon 'https://cdn-icons-png.flaticon.com/512/5610/5610944.png' {
                        New-HTMLTreeNode -Title 'Premature power_good signal. Try different power supply.' -Icon 'https://cdn-icons-png.flaticon.com/512/6897/6897039.png'
                    }
                    New-HTMLTreeNode -Title 'Does not need two tries to boot' -Icon 'https://cdn-icons-png.flaticon.com/512/6939/6939131.png'
                }
            }
            New-HTMLTreeNode -Title "<b>No</b> live screen" -Icon 'https://cdn-icons-png.flaticon.com/512/6939/6939131.png' {
                New-HTMLTreeNode -Title "Proceed to video failure chart" -Icon 'https://cdn-icons-png.flaticon.com/512/1294/1294758.png'
            }
        }
    } -AutoScroll -MinimumExpandLevel 1
} -Online -ShowHTML
```

<!-- PowerForge markdown artifact sha256:14CA58CFA01A9477FE556D61721591AB7B69D1BFA251EB263772B6C8B60C3958 -->
