2

Hi,

Can you give some examples for inserting multiple parameters to Community.PowerShellMonitoring.MP monitor?

I have parameters what I want to have as overridable values in my monitor:

param ($DeltaTime, $Threshold, $debugFileName)
$DeltaTime = 120 #number of minutes
$Threshold = 500 #count of objects before alerting
$debugFileName = C:\Temp\debug.txt

How can I add them all to “Parameters” box in my custom monitor and how can I use them in my script then?

andorx answered