To protect you from dangerous scripts downloaded from the internet, Powershell blocks all such files from running. Having inspected a file to ensure it is safe to use and is not going to do anything malicious to your system you can unblock it. Use one of the following methods:
or...You can unblock a file from Powershell:get-childitem -path "D:\<your path>\*.ps1" |unblock-file -WhatIf
It will show you what would be unblocked and if you wantit to carry out the command just remove the "-WhatIf"
More information here:https://technet.microsoft.com/en-us/library/hh849924%28v=wps.630%29.aspxhttps://technet.microsoft.com/en-us/library/hh847748%28v=wps.630%29.aspxIf you have subdirectories you can add the"-recurse" option: