$client = new-object System.Net.WebClient $source = "https://patchmypc.com/freeupdater/PatchMyPC.exe" $target = "C:\Users\root\Desktop\PatchMyPC1.exe" $client.DownloadFile($source,$target)