Start-Download

1.0.0

This script attempts to download a file from a given URI with progress information.
The progress outputs the current / total bytes and the average download speed.
The script attempts to get the file name from the URI. If it contains invalid characters it replaces them with 'a's.
It implements a cancellation mechanism in case the user hits 'Ctrl + C' or 'Ctrl + Break'.
This script attempts to download a file from a given URI with progress information.
The progress outputs the current / total bytes and the average download speed.
The script attempts to get the file name from the URI. If it contains invalid characters it replaces them with 'a's.
It implements a cancellation mechanism in case the user hits 'Ctrl + C' or 'Ctrl + Break'.
If the user cancels or an error occurs during the download we attempt to delete the incomplete file from disk.

Show more

Installation Options

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

Install-Script -Name Start-Download

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)

  • francisconabas@outlook.com

Tags

Download File Windows Network

Functions

Get-ValidFilePathFromUriFileName

Dependencies

This script has no dependencies.

Release Notes

Version 1.0.0:
- Initial version published.

FileList

Version History

Version Downloads Last updated
1.0.0 (current version) 9 10/31/2024