Skip to content

Commit

Permalink
Set PowerShell to use TLS 1.2
Browse files Browse the repository at this point in the history
This addresses the following issue:
#55
  • Loading branch information
ScriptTiger committed May 24, 2021
1 parent 65bc0dd commit 105046b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Hosts_Update.cmd
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ call :Execute bitsadmin /list && set DOWNLOADER=1
call :Execute powershell $host.version && set DOWNLOADER=2
if %DOWNLOADER%==2 (
set DOWNLOADER=PowerShell
set DOWNLOADER_FROM=powershell invoke-webrequest
set DOWNLOADER_FROM=powershell [Net.ServicePointManager]::SecurityProtocol +='tls12';invoke-webrequest
set DOWNLOADER_TO= -outfile
set Q='
)
Expand Down

0 comments on commit 105046b

Please sign in to comment.