There was a problem running Powershell scripts from the Hudson CI server using the Powershell plugin. I am running:
- Hudson v1.362
- Windows 2003
- Powershell 1.0
I am trying to use the Powershell plugin for Hudson. Everything I try just gives me:
File C:\DOCUME~1\SVC_PR~1\LOCALS~1\Temp\hudson2144883754471568213.ps1
cannot be loaded because the execution of scripts is disabled on this system.
I set it ExecutionPolicyas " Unrestricted", but still getting the same message in Hudson.
- Tried to restart Hudson - did not decide.
- I tried putting "
Set-ExecutionPolicy Unrestricted" in the Powershell profile of an account launched by Hudson, which only succeeded in giving me the above message twice, and not once (ironically) - "
Powershell -ExecutionPolicy Unrestricted".
: "Missing expression after unary operator '-'. At line:1 char:2 + -ExecutionPolicy Unrestricted" - , Powershell 1 -ExecutionPolicy v1.
, . , Powershell Poweshell, .