cmd exe that downloads files code example
Example 1: download file by command line windows
iwr -outf index.html http://superuser.com
Example 2: download file by command line windows
Invoke-WebRequest -OutFile index.html http://superuser.com
iwr -outf index.html http://superuser.com
Invoke-WebRequest -OutFile index.html http://superuser.com