News:

We really need your input in this questionnaire

Main Menu
Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - AnyKeySPB

#1
Hello,

I'm trying to run a powershell script when became a certain event. The script turn-on access list on HP-switch via SSH.  The script works fine from PS-console or CMD, but doesnt start from "Actions configuration" on the NXMS server.. (
..that's part of the log:

[17-Feb-2017 16:29:20.104] [DEBUG] *actions* Executing action 37 (Disable K22) of type EXEC
[17-Feb-2017 16:29:20.104] [DEBUG] *actions* Executing command "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -File "C:\SCRIPT\disable_K22.ps1""


..but nothing happens upon!
Is anyone can tell me what I'm doing wrong?
Thanks a lot in advance!