Security Warnings when running from Shared Folder in VM

8 views
Skip to first unread message

cneuwirt

unread,
Nov 9, 2009, 9:03:59 AM11/9/09
to psake-users
I am trying to run psake scripts from a shared folder in a VM. The
script actually lives on my mac so powershell thinks its an internet
script and gives the following

Security Warning
Run only scripts that you trust. While scripts from the Internet can
be useful,
this script can potentially harm your computer. Do you want to run U:
\Develop\Ayende\rhino-dsl\psake_ext.ps1?
[D] Do not run [R] Run once [S] Suspend [?] Help (default is "D"):
r fatal: ambiguous argument 'oneline':

I have already set-executionPolicy to unrestriced, but that didn't
resolve the issue.

Does anyone know any other tricks to resolve this?

thanks,
craig

Shaun Becker

unread,
Nov 9, 2009, 9:43:15 AM11/9/09
to psake...@googlegroups.com
Are you running x64 edition? If so, the 32 and 64 bit versions of
powershell each have separate execution policies. The other thing the
try is to reboot as I have seen where some powershell settings don't
take until reboot.

Thanks
Shaun

Craig Neuwirt

unread,
Nov 9, 2009, 9:47:01 AM11/9/09
to psake...@googlegroups.com
It should be 32 bit.  How do you configure them separately?
Reply all
Reply to author
Forward
0 new messages