# 7 Measure Time

7 Measure Time 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-Table`

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

$Processes = Get-Process | Select-Object -First 50
$Title = 'My title'

Measure-Command {
    New-HTML -TitleText $Title -Online -FilePath $PSScriptRoot\Example7_MeasureTime01.html {
        New-HTMLSection -HeaderText '1 section' {
            New-HTMLTable -DataTable $Processes -HideFooter {
                New-TableRowGrouping -Name 'PriorityClass' -Color Red -BackgroundColor GreenYellow
            } -DisableSearch
        }
        New-HTMLSection -HeaderText '2 section' {
            New-HTMLTable -DataTable $Processes -HideFooter -ImmediatelyShowHiddenDetails -HideShowButton
        }
    } -ShowHTML
}

Measure-Command {
    New-HTML -TitleText $Title -Online -FilePath $PSScriptRoot\Example7_MeasureTime02.html {
        New-HTMLSection -HeaderText '1 section' {
            New-HTMLTable -DataTable $Processes -HideFooter {
                New-TableRowGrouping -Name 'PriorityClass' -Color Red -BackgroundColor GreenYellow
            } -DisableSearch -DataStore JavaScript
        }
        New-HTMLSection -HeaderText '2 section' {
            New-HTMLTable -DataTable $Processes -HideFooter -ImmediatelyShowHiddenDetails -HideShowButton -DataStore JavaScript
        }
    } -ShowHTML
}
```

<!-- PowerForge markdown artifact sha256:9E773045A5951F9C31555F517E4BEA5A38380817D96BD580CD00F8E258C16171 -->
