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