** PowerShell
Invoke-WebRequest -Uri 'http://url' -OutFile 'D:\downloaded_file'
(New-Object System.Net.WebClient).DownloadFile('http://url', 'D:\downloaded_file')
** PHP
php -r "readfile('http://url');" > output_file
** PowerShell
Invoke-WebRequest -Uri 'http://url' -OutFile 'D:\downloaded_file'
(New-Object System.Net.WebClient).DownloadFile('http://url', 'D:\downloaded_file')
** PHP
php -r "readfile('http://url');" > output_file