# Run Tabs Loop

Run Tabs Loop 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-DashimoStyle`

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

Dashboard -Name 'Dashimo Test' -FilePath $PSScriptRoot\Output\DashboardTabsLoop.html -Show {
    $Tabs = 'vCenter', 'vCenter1', 'vCenter2'
    foreach ($_ in $Tabs) {
        Tab -Name $_ {
            Section -Name 'Test' {
                $Process = Get-Process | Select-Object -First 5
                Table -DataTable $Process {
                    TableConditionalFormatting -Name 'ID' -ComparisonType number -Operator gt -Value 16000 -Color BlueViolet -Row
                    TableConditionalFormatting -Name 'PriorityClass' -ComparisonType string -Operator eq -Value 'Normal' -BackgroundColor Gold
                    TableConditionalFormatting -Name 'PriorityClass' -ComparisonType string -Operator eq -Value 'Idle' -BackgroundColor Gold -Color Green
                }
            }
        }
    }
    for ($i = 0; $i -lt 5; $i++) {
        Tab -Name "vCenter#$i" {
            Section -Name "Section Name$i" {
                $Process = Get-Process | Select-Object -First 5
                Table -DataTable $Process {
                    TableConditionalFormatting -Name 'ID' -ComparisonType number -Operator gt -Value 16000 -Color BlueViolet -Row
                    TableConditionalFormatting -Name 'PriorityClass' -ComparisonType string -Operator eq -Value 'Normal' -BackgroundColor Gold
                    TableConditionalFormatting -Name 'PriorityClass' -ComparisonType string -Operator eq -Value 'Idle' -BackgroundColor Gold -Color Green
                }
            }
        }
    }
}
```

<!-- PowerForge markdown artifact sha256:8CBEEE89533DAEEB1D994D75B549172E980742ED0B0AE4652EC9F1B2B431F9F1 -->
