Hi experts,
I am facing a very frustrating problem, and I cannot find any specific logic behind received behavior, maybe one of you would push mi in a good direction. I am trying to set up the command notification channel (the end goal - to create events with msend). It doesn't work as expected though. I was able to get one channel to create events with createevent.exe program. But no other programs produce any significant results, and no other channels created work. I wrote everything down in the bullet points, my notes are below:
- the only command working is createevent.exe, it only works in one channel
- creating another channel with the same command doesn’t lead to creating two events
- modifying the working channel to create different events work well
- modifying the working channel to run a different command doesn’t work
- changing a command to the non-existing one results in the event log errors, which suggests the other commands are processed but without a significant result
- commands, that don’t work: powershell.exe, .bat scripts, .ps1 scripts
- moving eventcreate.exe to another folder on the E:\ drive and modifying the channel to run it from there is working in the same way as from c:\windows\system32
- no other test channel works, they are not executed
- changing a command to the non-existing one doesn’t results in any event log errors, which suggests the other commands are not processed by those channels
I set up the Notification Run As account as mine (domain and SCOM admin). Also all the scripts were distributed to every MS in the notifications resource pool. Any help will be greatly appreciated