title: Powershell Compare text files and show differences
body: <p>I need to do a file comparison and want to use Powershell. I need an output file listing all of the differences. The below is a good start, but I need the file to inlcude line numbers, and the resulting Input Object currently also gets cut off after 89 characters - I need the full line to display:</p>
  
  <pre><code>compare-object (get-content $File1) (get-content $File2) | Out-File $Location
  </code></pre>