Hi
I try to remote execute a powershell script triggert over event processing policy.
The action Type is " execute command on remote node via agent" .
The agent config file looks like:
ActionShellExec = dienst.restart:C:\Windows\system32\WindowsPowerShell\v1.0\powershell.exe C:\Windows\system32\WindowsPowerShell\v1.0\dienstrestarttest.ps1
The powershell script "dienstrestarttest.ps1" should restart the printer spooler service, but it doesn´t.
The alarm browser shows the event correct.
I try to remote execute a powershell script triggert over event processing policy.
The action Type is " execute command on remote node via agent" .
The agent config file looks like:
ActionShellExec = dienst.restart:C:\Windows\system32\WindowsPowerShell\v1.0\powershell.exe C:\Windows\system32\WindowsPowerShell\v1.0\dienstrestarttest.ps1
The powershell script "dienstrestarttest.ps1" should restart the printer spooler service, but it doesn´t.
The alarm browser shows the event correct.