HOW-TO MSSQL Server dynamic database monitoring with PowerShell

Along with our perfmon Blueprint for monitoring values from Windows Perfmon counters, we also can dynamically get queried data from a MSSQL Instance, iterate over the result set and use our REST api to create and update attributes per database.

Perfmon BP:

Powershell scripts: