windows cmd wget code example
Example 1: cmd download file
bitsadmin.exe /transfer "JobName" http://download.url/here.exe C:\destination\here.exe
Example 2: how to wget on windows
#you can perform similar to wget with this command in powershell, accept all certs in test mode
$client = new-object System.Net.WebClient
[System.Net.ServicePointManager]::ServerCertificateValidationCallback = {$true} ;
$client.DownloadString("https://url-url-here")
Example 3: download file by command line windows
Invoke-WebRequest -OutFile index.html http://superuser.com