title: Parsing atom files in Powershell
body: <p>I am trying to parse the Microsoft Windows 10 feed:</p>
  
  <pre><code>$feed = "https://support.microsoft.com/app/content/api/content/feeds/sap/en-us/6ae59d69-36fc-8e4d-23dd-631d98bf74a9/atom"
  $resp = Invoke-WebRequest -Uri "$feed"
  </code></pre>
  
  <p>However converting the response to XML with  <code>[xml]($resp.Content)</code> gives an error.<br>
  An easy fix would be removing the initial (empty?) character:</p>
  
  <pre><code>[xml]($resp.Content.Substring(1))
  </code></pre>
  
  <p>Which is the correct  way, by the way? </p>