To allow running scripts on your system, the following has to be inserted into PowerShell:
set-executionpolicy remotesigned