Search notes:

PowerShell cmdLet Start-BitsTransfer

$file = 'vs_Community.exe'
$dest = "downloaded/$file"
if (-not (test-path $dest)) {
   start-bitsTransfer -source https://aka.ms/vs/17/release/vs_Community.exe -destination $dest
}
else {
   write-host "$file already exists. Skipping transfer."
}

See also

invoke-webRequest
Powershell command noun: bitsTransfer

Index