PS-MRTG

1.29

PS-MRTG is a real-time network bandwidth monitor for Windows, classic MRTG
style. It graphs per-interface IN/OUT throughput in an interactive, 100%
offline HTML dashboard with 4 aggregated time views (live, hour, day, week),
an alarm threshold and HTML snapshot export. Single self-contained PowerShell
script, no external dependency, runs on Windows PowerShell 5.1 and
PS-MRTG is a real-time network bandwidth monitor for Windows, classic MRTG
style. It graphs per-interface IN/OUT throughput in an interactive, 100%
offline HTML dashboard with 4 aggregated time views (live, hour, day, week),
an alarm threshold and HTML snapshot export. Single self-contained PowerShell
script, no external dependency, runs on Windows PowerShell 5.1 and PowerShell
7+ (strict ConstrainedLanguage compatible).

Show more

Installation Options

Copy and Paste the following command to install this package using PowerShellGet More Info

Install-Script -Name PS-MRTG

Copy and Paste the following command to install this package using Microsoft.PowerShell.PSResourceGet More Info

You can deploy this package directly to Azure Automation. Note that deploying packages with dependencies will deploy all the dependencies to Azure Automation. Learn More

Manually download the .nupkg file to your system's default download location. Note that the file won't be unpacked, and won't include any dependencies. Learn More

Owners

Copyright

(c) 2026 Eric Guiffault - MIT License

Package Details

Author(s)

  • Eric Guiffault

Tags

powershell mrtg monitoring bandwidth network networkmonitor traffic throughput interface realtime dashboard graph chart html offline sysadmin windows

Functions

Get-NowMs Get-ElapsedSec Round-Double Format-Mbps Double-ToJs Get-LinkSpeed Get-ActiveInterfaces Get-NetworkCounters Find-CounterKey Debug-Counters Init-InterfaceBuffers Add-DataPoint Collect-Bandwidth Serialize-View Write-DataJs Get-ChartJsTag Open-Browser Find-BrowserWindowPid Test-BrowserOpen Write-HtmlOnce

PSEditions

Desktop Core

Dependencies

This script has no dependencies.

Release Notes

Readability v2: chart font sizes centralized in a single FS constant (fixes a v1.27 regression where the per-2s update silently reverted the axis-font bump) + larger axis ticks (12px compact / 15px full screen), tooltips 14px + whole UI bumped one notch (header, tabs, stats bar, legend, Options).

FileList

Version History

Version Downloads Last updated
1.29 (current version) 7 6/10/2026
1.27 7 6/10/2026
1.22 7 6/9/2026
1.21 7 6/9/2026
1.16 4 6/9/2026