powershelldba.de
← Command Reference  /  Live examples Live examples

Every sqmSQLTool HTML report, in one place.

37 report examples across 12 categories. Generated against a lab SQL Server instance seeded with the AdventureWorks sample database — read-only, no production or customer data.

Real report — actual output from a live run on the lab instance Illustrative example — this lab has no AlwaysOn AG / AD domain / second instance to run the command against, so values are representative

Performance

Get-sqmBlockingReport Blocking Report Live blocking chains with head blocker, wait time, and the exact statements involved. View report → Get-sqmMissingIndexes Missing Indexes Report Impact-scored index recommendations from the DMV cache, ranked by seeks/scans and cost. View report → Get-sqmIndexFragmentation Index Fragmentation Report Fragmentation percent and page count per index, with a REBUILD/REORGANIZE recommendation. View report → Get-sqmLongRunningQueries Long-Running Queries Currently executing queries beyond a duration threshold, with wait type and CPU time. View report → Get-sqmPerfCounters Performance Counters Top SQL Server performance counters from sys.dm_os_performance_counters. View report → Get-sqmServerUtilization Server Utilization Trend CPU and memory utilization sampled over time, with min/max/average per metric. View report → Get-sqmWaitStatistics Wait Statistics Report Top wait types from sys.dm_os_wait_stats, ranked by accumulated wait time. View report → Invoke-sqmQueryStore Query Store Diagnosis Top-N queries and detected Query Store issues for a database. View report → Invoke-sqmPerfBaseline Performance Baseline Comparison Wait stat and perf counter deltas between two captured baselines. View report → Get-sqmDeadlockReportIllustrative Deadlock Report Deadlock victims, involved statements, and a link to the XDL graph for each event. View report → Invoke-sqmExtendedEventsIllustrative Extended Events Diagnosis Aggregated session events with detected performance issues by category and severity. View report →