As a test I'm trying to use the included "Demo EXE Notification - OutFile.ps1" in a custom notification. The script runs fine manually (at the PS 32bit console).
This script needs a file as an argument "c:\temp\test.txt", the folder exist. I set the local admin account to run the script, left the domain/machine field empty.
I set powershell 32 bit to run unrestricted.
I got this error in the log:
Error sending "EXE": Error1. MYSERVER : The term 'MYSERVER' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. At line:1 ch[...]
Why is it trying to use my server's name as a ps cmdlet? Nothing in the script even uses the machine name.
Also a question about notifications running exe.
I understand that the Probe themselves does not have a notifications folder. So all the programs are located on the server?
Does the server copy the script to the probe and run it locally?
Thanks!
Add comment