Array Setup and Networking
1752422 Members
5859 Online
108788 Solutions
New Discussion

Solution for MPIO Powershell Script RuntimeException error

 
smurthy110
Occasional Contributor

Solution for MPIO Powershell Script RuntimeException error

Issue

On running powershell MPIO script, you might face the following error.

File C:\Common\Scripts\hello.ps1 cannot be loaded because the execution of scripts is disabled on this system. Please see "get-help about_signing" for more details.

At line:1 char:13

+ .\hello.ps1 <<<<

+ CategoryInfo : NotSpecified: (:) [], PSSecurityException

+ FullyQualifiedErrorId : RuntimeException

Solution

>Set the policy change first in the Powershell, Open Powershell as administrator. Ensure the path is correct.

> Set the execution policy on Powershell prompt as below

> set-executionpolicy remotesigned