syspolicy_purge_history fails at the 3rd step. The error that I get is the following one:
Executed as user: UserABC. A job step received an error at line 1 in a PowerShell script. The corresponding line is 'set-executionpolicy RemoteSigned -scope process -Force'. Correct the script and reschedule the job. The error information returned by PowerShell is: 'Security error. '. Process Exit Code -1. The step failed.
Was wondering if you guys have faced this before and how to go about fixing this.