Zabbix Agent 2 can't run Power shell Scripts from action. But in same time if you manualty run it from Frontend - all work as expected.
Also there is no issue with Agent 1.
Steps to reproduce:
Create global script:
CMSServicesCheckandStart.ps1 file contain:
Create action for some trigger
Fire the trigger.
No new string in file
New string in file