Powershell Set Execution Policy ways
Hi All!
Execution policy acts as a controller which limits the script execution and loads confguration files in powershell.
For example, I need not my powershell to run scripts which I downloaded from internet which does not have digital signature. To achieve it, I need to set the execution policy as RemoteSigned.
Let's see the example how to see the current execution policy and change it from the below illustration.
we have different types of execution policies in powershell
- AllSigned
- ByPass
- RemoteSigned
- Default
- Unrestricted
- Restricted
- Undefined
Comments
Post a Comment