View Single Post
  #1  
Old 03-16-2010, 03:57 PM
ericp ericp is online now
Registered User
 
Join Date: 06-07-2006
Posts: 17
Powershell, Windows 2008 R2, VBP 6.7a and me :)

Short of upgrading to v7.x of VBP, is there something I'm missing getting Powershell commands from working?

Whenever I try to run a 'shell script I get:

Code:
File C:\Users\VMMSER~1\AppData\Local\Temp\1\VisDB65.tmp.ps1 cannot be loaded be
cause the execution of scripts is disabled on this system. Please see "get-help
 about_signing" for more details.
At line:1 char:55
+ C:\Users\VMMSER~1\AppData\Local\Temp\1\VisDB65.tmp.ps1 <<<< 
    + CategoryInfo          : NotSpecified: (:) [], PSSecurityException
    + FullyQualifiedErrorId : RuntimeException
If I run:
Code:
PS C:\Users\vmmservice> get-ExecutionPolicy
Unrestricted
PS C:\Users\vmmservice>
I can get the same bld file (a sample BLD provided in these forums, actually) to run properly in WinXP, but I can't get it to run in Win2k8R2.

I run VBP as Administrator, in WinXP SP3 compatibility mode. I've tried changing the DEP to exclude VBP, however, that just crashes VBP on startup.

Thanks in advance!

Eric.
Reply With Quote