title: Powershell ExecutionPolicy is wrong when run through VisualStudio
body: <p>I am trying to run a powershell script as part of my Pre-Build on a VS2005 project. I have run </p>
  
  <pre><code>$&gt; powershell Set-ExecutionPolicy UnRestricted 
  </code></pre>
  
  <p>from a command line before the build and I can run the same script from from the command line. However when the script is run as part of the Pre-Build step it fails with </p>
  
  <pre><code>The execution of scripts is disabled on this system. 
  Please see “get-help about_signing” for more details. 
  </code></pre>
  
  <p>The script works on a co-worker's x32 XP machine, but not on my x64 Windows7 machine.</p>