title: Set the Host Header when using invoke-restmethod
body: <p>For some reason this doesn't work</p>
  
  <pre><code>Invoke-RestMethod -Uri "http://localhost" -Headers @{"Host"="web.domain.com"}
  </code></pre>
  
  <p>I get the error</p>
  
  <pre><code>The 'Host' header must be modified using the appropriate property or method
  </code></pre>
  
  <p>But I can't find the method or property on how to do this.</p>
  
  <p>Thanks</p>