PowerShell API
Published 21 October 2021
The SQL Monitor PowerShell API allows you to write PowerShell scripts to configure what SQL Monitor should monitor, and its alert system, for example disabling the disk space alert for a collection of disks.
Getting Started
To get started, you'll need to generate a token that will be used by SQL Monitor to grant access to your PowerShell session and you'll need to download the SQL Monitor PowerShell Module. The cmdlets in this file can be used to write your own scripts: some examples can be found under Example Scripts. More detail on these steps can be found in the sections below.