Appreciate any suggestions with this, I am looking to make a scom configuration in such a way that it monitors for a PowerShell script deployed onto a server and puts that server to maintenance mode based on the script's output.
It is ideal if this script is being spooled by the scom config too, so far I have been trying to use notification command channels and appreciate any suggestions please.