I have a few emails from customers because they have not been able to run PowerShell scripts that they have downloaded from the Internet; csv_parser.ps1 is an example.
What is happening here is that when you download the file, your browser (IE, Firefox) can mark the file as unsafe as it comes from that shady place known as the Internet. If you trust the source however, there are a number of things you can do to get the file working again:
- Right click the file in question, select 'Properties' and on the General tab you will see some text “This file came from another computer and might be blocked to help protect this computer.” You can choose to unblock the file, and then it will run normally.
- Open the file, and copy/paste the contents into a new file with a new name...the file will then run normally.
Hope that helps!
Jonny
