fix formatting

Joey Aiello 2017-05-15 15:16:50 -07:00
parent 4aafe04165
commit 4bb3588d5b

@ -1,8 +1,10 @@
####Follow these Powershell steps to retrieve links to latest packages: Follow these PowerShell steps to retrieve links to the latest Win32-OpenSSH packages:
`$url = 'https://github.com/PowerShell/Win32-OpenSSH/releases/latest/'` ```powershell
`$request = [System.Net.WebRequest]::Create($url)` $url = 'https://github.com/PowerShell/Win32-OpenSSH/releases/latest/'
`$request.AllowAutoRedirect=$false` $request = [System.Net.WebRequest]::Create($url)
`$response=$request.GetResponse()` $request.AllowAutoRedirect=$false
`$([String]$response.GetResponseHeader("Location")).Replace('tag','download') + '/OpenSSH-Win64.zip'` $response=$request.GetResponse()
`$([String]$response.GetResponseHeader("Location")).Replace('tag','download') + '/OpenSSH-Win32.zip'` $([String]$response.GetResponseHeader("Location")).Replace('tag','download') + '/OpenSSH-Win64.zip'
$([String]$response.GetResponseHeader("Location")).Replace('tag','download') + '/OpenSSH-Win32.zip'
```