Solution for MPIO Powershell Script RuntimeException error

Document created by Sathish Murthy Employee on Dec 19, 2013Last modified by mkieran on Dec 23, 2013
Version 2Show Document
  • View in full screen mode

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

Attachments

    Outcomes