Answers for "powershell change execution policy for current session"

1

change execution policy in powershell

Set-ExecutionPolicy -ExecutionPolicy <PolicyName>
#Example:
Set-ExecutionPolicy -ExecutionPolicy RemoteSigned

#To set the execution policy in a particular scope:
Set-ExecutionPolicy -ExecutionPolicy <PolicyName> -Scope <scope>
#Example:
Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser
Posted by: Guest on October-20-2021
0

how to change execution policy powershell

Set-ExecutionPolicy -ExecutionPolicy <PolicyName> # general syntax
Set-ExecutionPolicy -ExecutionPolicy RemoteSigned # for example
Posted by: Guest on December-09-2020

Code answers related to "powershell change execution policy for current session"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language