Trying to get a Notification Profile to Run a Program

Trying to get a Notification Profile to Run a Program

When I build and test the notification profile in the Admin section, referencing by hard-coded ip address, it works:

command; c:\programs\psexec.exe
arguments; -c -u irdev\netadmin -p mypassword \\10.0.0.20 c:\scripts\del-logs.bat

I then change the arguments to this (so it can work with multiple systems):

-c -u irdev\netadmin -p demon*zilla_ \\$DeviceField(ipAddress) c:\scripts\del-logs.bat

However, it didn't seem to be working.  So I went to Alarms and clicked on the disk space alarm that this profile should be reacting to, and when I click Test Actions, the profile shows up so I click test and watch the target system, but the logs aren't moved so the script isn't working.

Why does it work with the hard-coded IP but not with the variable $DeviceField(ipAddress) ?













                  New to ADSelfService Plus?