A script to unblock files downloaded from internet in windows.
-
Download or copy the script into a directory
-
Make sure you have execution permissions for powershell or you should be able to using 'Set-ExecutionPolicy -ExecutionPolicy '
-
Run the script from anywhere by passing the location of the destination folder as below, second parameter is optional.
.\unblock.ps1 < destination-folder-path > [< debug >]