NetXMS Support Forum

Please login or register.

Login with username, password and session length

Author Topic: PowerShell script on management server doesnt start  (Read 185 times)

AnyKeySPB

  • Newbie
  • *
  • Posts: 1
    • View Profile
PowerShell script on management server doesnt start
« on: February 17, 2017, 03:39:10 pm »

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!

Logged