Hi folks,
While I am trying to execute a command/script in Windows PowerShell , but I am getting below error:
Running scripts is disabled on this system
I just simply Run this command and it works:
powershell Set-ExecutionPolicy RemoteSigned
For more referenece:
Execution Policy Types can be:
Restricted
*
- No Script either local, remote or downloaded can be executed on the system.AllSigned
- All script that are ran require to be digitally signed.RemoteSigned
- All remote scripts (UNC) or downloaded need to be signed.Unrestricted
- No signature for any type of script is required.
Thanks for Reading.. I hope this will help you to access Powershell commands😊
Comments
Post a Comment