powershell download file with progress
$url = "http://mirror.internode.on.net/pub/test/10meg.test"
$output = "$PSScriptRoot\10meg.test"
Invoke-WebRequest -Uri $url -OutFile $output
4
4
Invoke-WebRequest URL -OutFile c:\file.ext
Thank you!
4
0
4.25
4
Import-Module BitsTransfer
# Download The File Using Progress Bar
Start-BitsTransfer https://www.example.com/file C:/Local/Path/file
Thank you!
4
0
Are there any code examples left?
New code examples in category Shell/Bash