Author Posts

November 17, 2015 at 7:50 am

Is there a way to change the execution policy for process level.

If we run get-executionpolicy -list , it shows the process level is undefined. We have issue running build in TFS.

Thank you!

November 17, 2015 at 7:59 am

Yep. Process level is set if you start PowerShell.exe with the -ExecutionPolicy parameter, or if you run Set-ExecutionPolicy -Scope Process from inside your session.

However, if the Process scope is undefined, then it's just going to inherit some other value, which is typically not a big deal. Running Get-ExecutionPolicy without the -List switch will show you the policy that's currently in effect, regardless of where it was inherited from.

November 17, 2015 at 8:24 am

Thank you Dave. We will try.