Saturday, December 20, 2014

Powershell throwing error the execution of scripts is disabled on this system.

This is the message we get it when try to run any powershell script on the SP server where execution olicy is disabled. It is based on tht 64 and 32 bit tyoe. We have to ensure that the execution policy is enabled on both types of it.
Run the following command:-
:- Set-ExecutionPolicy RemoteSigned
Once ran, you can verify using following command
:- get-executionpolicy
 

No comments:

Post a Comment