Running Microsoft PowerShell in unrestricted mode

Came across this a while back. I tried to run some commands from Microsoft PowerShell, but got an error message: Import-Module : There were errors in loading the format data file: Microsoft.PowerShell, , C:\Users\Administrator\AppData\Local\Temp\2\tmp_53559126-b068-417a-b9f3-c7ffd1a7304e_fq4thsik.mpj\tmp_53559126-b068-417a-b9f3-c7ffd1a7304e_fq4thsik.mpj.format.ps1xml : File skipped because of the following validation exception: File C:\Users\Administrator\AppData\Local\Temp\2\tmp_53559126-b068-417a-b9f3-c7ffd1a7304e_fq4thsik.mpj\tmp_53559126-b068-417a-b9f3-c7ffd1a7304e_fq4thsik.mpj.format.ps1xml cannot be loaded because the execution of scripts is disabled on this system. Please see … Continue reading