SQL Monitor 13

PowerShell API

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.

  1. Authentication
  2. Downloading the PowerShell Module
  3. Your first script


Do you have any feedback on this documentation?

Let us know at sqlmonitorfeedback@red-gate.com

Didn't find what you were looking for?