#1
|
|||
|
|||
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 Code:
PS C:\Users\vmmservice> get-ExecutionPolicy Unrestricted PS C:\Users\vmmservice> 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. |
#2
|
|||
|
|||
Make sure you've set the execution policy in the 32-bit version of PowerShell or that you're invoking the 64-bit version of PowerShell from Visual Build (i.e., %WINDIR%\Sysnative\WindowsPowerShell\v1.0\powershe ll.exe in the Override field on the Options tab).
http://www.kinook.com/VisBuildPro/Manual/6432bit.htm http://www.kinook.com/VisBuildPro/Ma...hellopttab.htm |
#3
|
|||
|
|||
/bow
'Unrestricting' the 32bit version was the key. Thank you again! Eric. |
Thread Tools | |
Display Modes | Rate This Thread |
|
|