title: Invoke-WebRequest set time out
body: <p>I have a long running web page that I need Powershell to call.  I run it on a nightly basis from the task manager, with the following:</p>
  
  <pre><code>powershell -Command "Invoke-WebRequest https://www.example.com/longrunningtask" 
  </code></pre>
  
  <p>but the powershell timeout occurs before the website responds.  Is there any way to set the timeout on <code>Invoke-WebRequest</code> to be longer than the standard 60 seconds?</p>