Error while running the power shell script file

You may be facing the following error while running the power shell script file.

xxx.ps1 cannot be loaded because the execution of scripts is disabled on this system


Resolution:

Run the following command on your power shell script console and enjoy running the script file.

Set-ExecutionPolicy “bypass”

*If you get “Access denied or unauthorized error” make sure that you are running power shell console in administration mode.


Comments

Popular posts from this blog

Nintex Forms (on-prem) Web Request Control Internals

How to remove Azure Access Package User assignments using Graph API?

SharePoint 2010 Search - search by enterprise keywords