Categories
How-To Software

Tech Short: “execution of scripts is disabled on this system.”

Attempting to run a PowerShell script I got the following error: File C:\Work\ps.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. + CategoryInfo : SecurityError: (:) [], ParentContainsErrorRecordException + FullyQualifiedErrorId : UnauthorizedAccess To run PowerShell scripts (files that end with .ps1), you must set the […]