ps1 cannot be loaded. The file is not digitally signed.

This occurs when the script has been sourced from the web.

In Windows Explorer:
Right click the .ps1 file and choose Properties
Click the Unblock button under Security on the General tab.