Running CCNet 1.4.3.4023 as a service, a Powershell script cannot be
run even though the script ExecutionPolicy on the server is set to
Unrestricted.
PS C:\Users\svc_EIDBuild> get-executionpolicy
Unrestricted
Task in ccnet.config:
<exec>
<executable>C:\Windows\system32\WindowsPowerShell
\v1.0\powershell.exe</executable>
<baseDirectory>C:\Scripts</baseDirectory>
<buildArgs>"C:\Scripts\Remove-eLinkItems.ps1"</buildArgs>
<buildTimeoutSeconds>30</buildTimeoutSeconds>
</exec>
Build error:
File C:\Scripts\Remove-eLinkItems.ps1 cannot be loaded because the
execution of scripts is disabled on this system. Please see "get-help
about_signing" for more details.At line:1 char:32+ C:\Scripts\Remove-
eLinkItems.ps1 <<<<
What am I missing?