PowerShell execution policy process level

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!

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.

Thank you Dave. We will try.