Tag Archives: monitor

SCOM – Powershell Monitor

By | October 25, 2023

Hi guys, I was working on a custom monitor at one of my customers using a powershell script. It involved creating a dataset to store some variables coming from a SQL database. When trying to save the monitor I got an error stating: Incorrect expression specified: $Data = New-Object System.Data.dataset A quick search pointed at… Read More »