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.
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.