title: INI file parsing in PowerShell
body: <p>I'm parsing simple (no sections) INI file in PowerShell. Here code I've came up with, is there any way to simplify it?</p>
  
  <pre><code>convertfrom-stringdata -StringData ( `
    get-content .\deploy.ini `
    | foreach-object `
      -Begin { $total = "" }  `
      { $total += "`n" + $_.ToString() } `
      -End { $total } `
  ).Replace("\", "\\")
  </code></pre>