Download-WinSCPPortable

1.1.0

This script checks the official WinSCP download page, retrieves the latest version number, and downloads
the portable ZIP package directly from winscp.net by extracting the tokenized download URL from the
download page. It extracts the contents into a temporary folder and copies them to the destination
folder. Optionally, the .NET assembly / COM library ZIP can also b
This script checks the official WinSCP download page, retrieves the latest version number, and downloads
the portable ZIP package directly from winscp.net by extracting the tokenized download URL from the
download page. It extracts the contents into a temporary folder and copies them to the destination
folder. Optionally, the .NET assembly / COM library ZIP can also be downloaded, preserving both
WinSCPnet.dll variants so the portable layout works with Windows PowerShell 5.1 and PowerShell 7.
If the destination folder already contains files from the same version, the download is skipped.

Show more

Installation Options

Copy and Paste the following command to install this package using PowerShellGet More Info

Install-Script -Name Download-WinSCPPortable

Copy and Paste the following command to install this package using Microsoft.PowerShell.PSResourceGet More Info

You can deploy this package directly to Azure Automation. Note that deploying packages with dependencies will deploy all the dependencies to Azure Automation. Learn More

Manually download the .nupkg file to your system's default download location. Note that the file won't be unpacked, and won't include any dependencies. Learn More

Owners

Package Details

Author(s)

  • Giovanni Solone

Tags

powershell winscp portable download tools

Functions

Write-ProgressMessage Resolve-DestinationPath New-DirectoryIfMissing New-TempExtractionFolder Copy-FolderContentsWithRetry Copy-FileWithRetry Get-WinSCPVersion Test-AlreadyUpToDate Get-WinSCPPackage Expand-DotNetDll Resolve-SourceFile

Dependencies

This script has no dependencies.

Release Notes

v1.1.0 (2026-05-07): Added ShowProgress and switched extraction to a temporary folder workflow for more reliable file deployment. Preserve both WinSCPnet.dll variants for Windows PowerShell 5.1 and PowerShell 7.
v1.0.0 (2026-03-26): Initial release.

FileList

Version History

Version Downloads Last updated
1.1.0 (current version) 3 5/7/2026
1.0.0 8 3/26/2026