Files
wPublic/bin/Download.ps1
USER bb32504713 .
2025-08-06 22:26:33 +01:00

10 lines
526 B
PowerShell
Executable File

$source = "https://github.com/PowerShell/Win32-OpenSSH/releases/download/v8.9.1.0p1-Beta/OpenSSH-Win64.zip"
$source = "https://github.com/PowerShell/Win32-OpenSSH/releases/download/v9.2.2.0p1-Beta/OpenSSH-Win64.zip"
$source = "https://github.com/PowerShell/Win32-OpenSSH/releases/download/v9.8.3.0p2-Preview/OpenSSH-Win64.zip"
$destination = "C:\Packages\OpenSSH-Win64.zip"
Invoke-WebRequest -Uri $source -OutFile $destination
Expand-Archive -LiteralPath $destination -DestinationPath "C:\Packages"
Remove-Item $destination