Problem scenario
You want to download a very large file using PowerShell (from a file share on your network or URL on the Internet). But the file is larger than the available RAM on your server. How do you download a large file using Powershell?
Solution
Invoke-restmethod, Invoke-webrequest, curl and wget (even with the redirect “” command) all put the file being downloaded into memory.
…
Continue reading “How Do You Download Big Files with PowerShell?”