powershell iwr download file code example Example: powershell download file Invoke-WebRequest URL -OutFile c:\file.ext