We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
FindEvergreenApp Win32OpenSSH | Get-EvergreenApp | Where-Object {$_.Architecture -eq "x64"} only returns zip, but msi is available Current MSI download example: "https://github.com/PowerShell/Win32-OpenSSH/releases/download/v9.2.2.0p1-Beta/OpenSSH-Win64-v9.2.2.0.msi" | % { $file= Split-Path -Path $_ -Leaf $version = [VERSION]$file.replace(".msi","").replace("OpenSSH-Win64-v","") $version.tostring() $path = "W:\Evergreen\Win32OpenSSH\$($version.tostring())" if (-not (Test-Path -Path $path -ErrorAction SilentlyContinue)) { New-Item -Path $path -Force -ItemType Directory | Out-Null } $fullpath = Join-Path -Path $path -ChildPath $file if (-not (Test-Path -Path $fullpath -ErrorAction SilentlyContinue)) { curl -UseBasicParsing -Uri $_ -OutFile $fullpath -Verbose } Unblock-File -Path $fullpath } Please also retrieve the MSI installers
FindEvergreenApp Win32OpenSSH | Get-EvergreenApp | Where-Object {$_.Architecture -eq "x64"}
"https://github.com/PowerShell/Win32-OpenSSH/releases/download/v9.2.2.0p1-Beta/OpenSSH-Win64-v9.2.2.0.msi" | % { $file= Split-Path -Path $_ -Leaf $version = [VERSION]$file.replace(".msi","").replace("OpenSSH-Win64-v","") $version.tostring() $path = "W:\Evergreen\Win32OpenSSH\$($version.tostring())" if (-not (Test-Path -Path $path -ErrorAction SilentlyContinue)) { New-Item -Path $path -Force -ItemType Directory | Out-Null } $fullpath = Join-Path -Path $path -ChildPath $file if (-not (Test-Path -Path $fullpath -ErrorAction SilentlyContinue)) { curl -UseBasicParsing -Uri $_ -OutFile $fullpath -Verbose } Unblock-File -Path $fullpath }
The text was updated successfully, but these errors were encountered:
#505
73c5171
No branches or pull requests
What is your feature request?
FindEvergreenApp Win32OpenSSH | Get-EvergreenApp | Where-Object {$_.Architecture -eq "x64"}
only returns zip, but msi is available
Current MSI download example:
"https://github.com/PowerShell/Win32-OpenSSH/releases/download/v9.2.2.0p1-Beta/OpenSSH-Win64-v9.2.2.0.msi" | % { $file= Split-Path -Path $_ -Leaf $version = [VERSION]$file.replace(".msi","").replace("OpenSSH-Win64-v","") $version.tostring() $path = "W:\Evergreen\Win32OpenSSH\$($version.tostring())" if (-not (Test-Path -Path $path -ErrorAction SilentlyContinue)) { New-Item -Path $path -Force -ItemType Directory | Out-Null } $fullpath = Join-Path -Path $path -ChildPath $file if (-not (Test-Path -Path $fullpath -ErrorAction SilentlyContinue)) { curl -UseBasicParsing -Uri $_ -OutFile $fullpath -Verbose } Unblock-File -Path $fullpath }
Please also retrieve the MSI installers
Have you tested against the current version?
Have you reviewed the documentation?
The text was updated successfully, but these errors were encountered: