Getting started with PowerShell scripts
Posted by Mikhail Yakovlev, Last modified by Mikhail Yakovlev on 12 March 2019 09:52 AM

Question:

Error when running PowerShell scripts: File cannot be loaded because the script is disabled.

Answer:

To enable working with PowerShell scripts, enter the following command: set-executionpolicy unrestricted

To disable Powershell scripts, enter the following command: set-executionpolicy restricted

(0 vote(s))
Helpful
Not helpful

Comments (0)
Post a new comment
 
 
Full Name:
Email:
Comments: