I am having an issue with the PowerShell script: when run from Windows 10, because PowerShell uses by default TLS 1.0, the script will fail on the DownloadFile function
My custom translation:
Exception while calling «DownloadFile» with «2» argument(s): «The request was aborted: Could not create SSL/TLS secure channel.»
After looking a bit on the internet, I found out that this could be fixed by explicitly specifying a preference TLS order, such as in the following changes.
After the change:
Disclaimer: this is not supported on Windows XP (i tested it), but so is Expand-Archive (two lines after), so this script isnt already working on it.
Hello!
I am having an issue with the PowerShell script: when run from Windows 10, because PowerShell uses by default TLS 1.0, the script will fail on the
DownloadFile
functionMy custom translation:
After looking a bit on the internet, I found out that this could be fixed by explicitly specifying a preference TLS order, such as in the following changes.
After the change:![image](https://user-images.githubusercontent.com/10530980/38567198-e3e9f148-3ce5-11e8-9c51-5155e4c8054d.png)
Disclaimer: this is not supported on Windows XP (i tested it), but so is
Expand-Archive
(two lines after), so this script isnt already working on it.Calling @FeodorFitsner for review :)