title: How do I make Invoke-RestMethod print the response body as is
body: <blockquote>
    <p>Note: this question is here for historical reasons or for users of Powershell &lt; 6.0.0. This problem should not occur in Powershell 6 and beyond.</p>
  </blockquote>
  
  <p>I'm trying to use the powershell cmdlet <code>Invoke-RestMethod</code> to print a json endpoint to the console.</p>
  
  <p>The command executes successfully but the end result is a terminal table containing all of the json's level 1 fields.</p>
  
  <p>I'm running the cmdlet like this:</p>
  
  <pre><code>Invoke-RestMethod -Uri &lt;some url here&gt; -Method GET -ContentType "application/json"
  </code></pre>
  
  <p>And getting something like this:</p>
  
  <pre><code>sections _links
  -------- ------
           {@{rel=parent; href=https://us9.api.mailchimp.com/3.0/templates/138...
  </code></pre>
  
  <p>How do I get it to just print the raw response to the terminal without formatting?</p>