Getting started with PowerShell scripts

Created by Mikhail Baturinskiy, Modified on Tue, 15 Apr at 7:33 AM by Mikhail Baturinskiy

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

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article