From 7e2f0139a6dc055dbf4444633e32ba1a6ec5c28b Mon Sep 17 00:00:00 2001 From: Manoj Ampalam Date: Fri, 20 Jul 2018 21:45:02 -0700 Subject: [PATCH] Updated How to retrieve links to latest packages (markdown) --- How-to-retrieve-links-to-latest-packages.md | 1 + 1 file changed, 1 insertion(+) diff --git a/How-to-retrieve-links-to-latest-packages.md b/How-to-retrieve-links-to-latest-packages.md index 9d5d022..fec0f78 100644 --- a/How-to-retrieve-links-to-latest-packages.md +++ b/How-to-retrieve-links-to-latest-packages.md @@ -1,6 +1,7 @@ Follow these PowerShell steps to retrieve links to the latest Win32-OpenSSH packages: ```powershell +[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12 $url = 'https://github.com/PowerShell/Win32-OpenSSH/releases/latest/' $request = [System.Net.WebRequest]::Create($url) $request.AllowAutoRedirect=$false