Encounter the following error when running powershell ?
File cannot be loaded because running scripts is disabled on this system. For more information, see about_Execution_Policies at http://go.microsoft.com/fwlink/?LinkID=135170.
At line:1 char:1
CategoryInfo : SecurityError: (:) [], PSSecurityException
FullyQualifiedErrorId : UnauthorizedAccess

Issue this command from powershell:
Set-ExecutionPolicy RemoteSigned

and you’re done

One Reply to “file cannot be loaded because running scripts is disabled on this system”

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.