1

I had changed my execution policy in Windows powershell but would like to change it back to default i.e unrestricted to restricted. Can it be done?

1 Answers1

3

Just like how you ran...

Set-ExecutionPolicy Unrestricted

...to set it to unrestricted, you would simply run this to set it back to restricted:

Set-ExecutionPolicy Restricted
n8te
  • 7,802