mirror of
https://github.com/PowerShell/Win32-OpenSSH.git
synced 2025-07-29 00:44:39 +02:00
fix formatting
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/'`
|
||||
`$request = [System.Net.WebRequest]::Create($url)`
|
||||
`$request.AllowAutoRedirect=$false`
|
||||
`$response=$request.GetResponse()`
|
||||
`$([String]$response.GetResponseHeader("Location")).Replace('tag','download') + '/OpenSSH-Win64.zip'`
|
||||
`$([String]$response.GetResponseHeader("Location")).Replace('tag','download') + '/OpenSSH-Win32.zip'`
|
||||
```powershell
|
||||
$url = 'https://github.com/PowerShell/Win32-OpenSSH/releases/latest/'
|
||||
$request = [System.Net.WebRequest]::Create($url)
|
||||
$request.AllowAutoRedirect=$false
|
||||
$response=$request.GetResponse()
|
||||
$([String]$response.GetResponseHeader("Location")).Replace('tag','download') + '/OpenSSH-Win64.zip'
|
||||
$([String]$response.GetResponseHeader("Location")).Replace('tag','download') + '/OpenSSH-Win32.zip'
|
||||
```
|
Loading…
x
Reference in New Issue
Block a user