title: Why the response-content returned from Invoke-WebRequest is too short?
body: <p>I am trying to make a REST request to fetch some data from a server using <code>PowerShell</code>. The commandlet I am using is <code>Invoke-WebRequest</code>:</p>
  
  <pre><code>&gt; Invoke-WebRequest -Uri "http://server" -Method GET -ContentType "application/json" -Credential $cred
  </code></pre>
  
  <p>This request will run successfully with this result:</p>
  
  <pre><code>StatusCode       : 200
  StatusDescription: OK
  Content          : 25/08/2018 11:49:51   INFO   Start-Time ...
  RawContent       : HTTP/1.1 200 OK
  ......
  </code></pre>
  
  <p>Actually I am fetching a log file and the file content should be returned in the HTTP body as content. However, the content returns only 2-3 line and the rest is omitted. How can I obtain the full content of the log file in the content section of the response body?           </p>