Execution Policy

Apr 2, 2013 at 11:20 PM
Hi Ingo,

I note that the Execution Policy needs to allow scripts to run that are built with PS2EXE.
Is there a way of temporarily setting the execution policy within the built EXE?

It's possible with VBS by adding -ExecutionPolicy ByPass to the parameters and I've found some C# on the web which seems to suggest it's possible, but don't seem to be able to get it to work...

Am I wasting my time - is this even possible, or do you know a way?

Many thanks,

Rob
May 2, 2013 at 5:57 PM
Hi Redpark

Have you found a solution? I need it too...


Thanks
Coordinator
May 2, 2013 at 6:49 PM
Something like that has to be added... http://ctrlf5.net/?p=231