Skip to content

Reports

Cmdlets for generating interactive HTML reports from NMM data.

Overview

The report cmdlets enable you to create professional, self-contained HTML reports with:

  • Interactive tables (search, sort, paginate)
  • Charts (bar, pie, donut, line, area)
  • Nerdio branding
  • Dark/light themes
  • Automatic template detection

Cmdlets

Cmdlet Description
Invoke-NMMReport Generate pre-built reports with one command
ConvertTo-NMMHtmlReport Simple pipeline to HTML report
New-NMMReport Initialize multi-section report builder
Add-NMMReportSection Add section to report builder
Export-NMMReport Generate final HTML output
Add-NMMTypeName Tag data with PSTypeName for templates

Quick Examples

Pre-built Reports (Easiest)

# Interactive menu
Invoke-NMMReport -AccountId 67

# Direct generation
Invoke-NMMReport -ReportType AccountOverview -AccountId 67 -OpenInBrowser

Available types: AccountOverview, DeviceInventory, SecurityCompliance, Infrastructure

Simple Pipeline Report

Get-NMMDevice -AccountId 123 |
    ConvertTo-NMMHtmlReport -Title "Devices" -ShowChart -OutputPath "./devices.html"

Multi-Section Dashboard

$report = New-NMMReport -Title "Dashboard"
$report | Add-NMMReportSection -Title "Pools" -Data $pools -ShowChart
$report | Add-NMMReportSection -Title "Devices" -Data $devices -ShowChart
$report | Export-NMMReport -OutputPath "./dashboard.html" -OpenInBrowser

Supported Data Types

PSTypeName Display Name Default Chart
NMM.HostPool Host Pool Donut (by auto-scale status)
NMM.Host Session Host Donut (by power state)
NMM.Device Intune Device Pie (by compliance)
NMM.Account Account None
NMM.User User None
NMM.Backup Backup Item Donut (by protection state)
NMM.DesktopImage Desktop Image None