TLS1.2 support for vm-guest-tools.bat

This commit is contained in:
Chris Long
2019-05-10 17:13:54 -07:00
committed by GitHub
parent 9029a95ee9
commit 0147bad8d2

View File

@@ -1,3 +1,4 @@
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12
if not exist "C:\Windows\Temp\7z1900-x64.msi" (
powershell -Command "(New-Object System.Net.WebClient).DownloadFile('https://www.7-zip.org/a/7z1900-x64.msi', 'C:\Windows\Temp\7z1900-x64.msi')" <NUL
)