Tag Archives: PowerShell

ESB Guidance 2.0 CTP script execution problem

0
Filed under BPI
Tagged as , , ,

When running the ‘setup_bin.cmd’ from the folder ‘C:\projects\microsoft.practices.esb\Source\Samples\DynamicResolution\Install\Scripts’ I receive the message:

 

File C:\projects\microsoft.practices.esb\Source\Samples\DynamicResolution\Install\Scripts\DynamicResolution_Install.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
+ .\DynamicResolution_Install.ps1  <<<< domainname\usernamepassword‘ 1

image

On a development machine you can run on a DOS Command Prompt the next command:

powershell Set-ExecutionPolicy Unrestricted

After that the setup_bin.cmd will run just fine.

  • Share/Bookmark