Notification profile

Notification profile

Good afternoon,

I have a very basic notification profile whereby if a certain snmp trap is recieved a bat file is run which in turn opens up an exe file. 

In previous versions this has worked fine but since upgrading it no longer works. i have then tried doing this via a bat file and powershell and this all works as expected outside of OpManager but when i try it within the test action is states its successful but nothing happens. 

command : C:\ManageEngine\OpManager\bin\test.bat

test.bat: 
PowerShell -NoProfile -ExecutionPolicy Bypass -Command "& {Start-Process PowerShell -ArgumentList '-NoProfile -ExecutionPolicy Bypass -File ""C:\ManageEngine\OpManager\bin\test.ps1""' -Verb RunAs}"

test.ps1:
Start-Process -Filepath "C:\ManageEngine\OpManager\bin\test.exe"

so, running the bat file normally it successfully opens the ps file and in turn text.exe is executed but not fro within OpManager. 

i have also tried putting these files within the /OpManager/ directory.  If i try and remove the powershell side of things and just get the bat file to execute exe file the file is ran but there is sound only and no actual exe window.

Any ideas?


Thanks


                New to ADSelfService Plus?