I am trying to run a PowerShell script via the command line via SQL Job.
"C:\Windows\System32\WindowsPowerShell\v1.0" "C:\Test\TestScript.ps1"
I am running the SQL Job from a SQL Server 2008 R2 server. Which permissions does the SQL Job Agent Service Account need to run a PowerShell script? Or is this a windows permission level, not a db permission?
EDIT: This is the error I am getting Executed as user: ****.
The process could not be created for step 3 of job ## (reason: Access is denied). The step failed.