1

Closed

Allow setting execution policy for PowershellTaskFactory

description

It would be nice to be able to set the execution policy for scripts run inside the PowershellTaskFactory.

cf. http://stackoverflow.com/questions/10260597/invoking-powershell-script-with-arguments-from-c-sharp
Closed May 5, 2014 at 8:07 AM by mikeFourie

comments

flcdrg wrote May 5, 2014 at 4:31 AM

Never mind.. I thought this was problematic, but it turns out I was using Write-Host in my script which was the cause of an error rather than being able to set the execution policy.

wrote May 5, 2014 at 8:07 AM