In SMA there are long running runbooks which monitor or trigger other runbooks. These runbooks run in a loop and finish never. Because these runbooks are important to monitor, this sample MP contains a PowerShell alert rule which queries the SMA DB and checks if there is at least