PowerShell script on management server doesnt start

Started by AnyKeySPB, February 17, 2017, 03:39:10 PM

Previous topic - Next topic

AnyKeySPB

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!