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.
			
			
			
				Hi,
please provide screenshot of your action configuration and rule that triggers it.
Best regards,
Victor
			
			
			
				Hi
Screenshots from action conf and rule.
			
			
			
				Hi,
are you sure that hostname will be resolved correctly? You may try to use %a macro instead that will be expanded into node's primary IP address, or reference to node by name using @%n construct (which is the only option if you are using agent-to-server connection).
Best regards,
Victor