We have a SCOM Command Notification channel that executes a
powershell script to send notifications to contacts.
This worked fine until we experienced some network issues and now
the script is not getting executed.
We can manually start the script on the SCOM server with no problems.
When an alert gets generated, however, the script is not getting executed.
The parameters on the channel look like this:
Full Path of the command file:
Command line parameters:
-command D:\Scripts\Operational\Live\NotifyScript.ps1 '$Data/Context/DataItem/AlertId$' '$MPElement$'
Startup folder for the command line:
We have restarted the SCOM servers, but nothing changed.
Without log information from the channels, there doesn't seem to be any
way to troubleshoot.
Can someone help us figure out what else we can look at or try please?
Thanks so much!