Fix for PowerShell Script cannot be loaded because running scripts is disabled on this system error

Problem:On trying to run a PowerShell script from the PowerShell console, received this error message: “File C:\temp\GenerateRpt.ps1 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.” This is due to PowerShell’s policy to prevent untrusted scripts which can affect your Server environment. Solution…

Read more