Nov 272010

While installing the sample tutorials of the ESB toolkit, I came across this error:

ExceptionHanlding_Install.ps1 cannot be loaded because the execution of scripts is disabled on this system…

So I, of course, set the execution policy to unrestricted (like everyone does anyway)

but still not love!!!!

The real issue is that it states that it is running under x86 Powershell (which is not the default PowerShell on a x64 system)

To fix this, you need to run the following command:

%windir%\SysWOW64\WindowsPowerShell\v1.0\powershell.exe “Set-ExecutionPolicy Unrestricted”