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 Answer
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 2