Notare che :
The only way I’m able to successfully execute a Powershell script in an application is by using the ExecutionPolicy switch.
The commandline would then look like this:
powershell.exe -ExecutionPolicy Bypass -file ".\SomeFile.ps1"
http://technet.microsoft.com/
Di seguito invece la fonte dell’Articolo:
http://www.david-obrien.net/