title: Sort folder contents, modify file with LastWriteTime
body: <p>Have this code:</p>
  
  <pre><code>gci D:\Files\Folder |
      sort LastWriteTime | select -Last 1 |
      foreach-object {$line -replace "\&lt;", ""}
  </code></pre>
  
  <p>Not working.  Tried many variations.  Need to replace the "&lt;" character in the file last modified in Folder. Managed to have the correct file selected and written to powershell console.  Just cannot remove the "&lt;" character from the file with LastWriteTime.  </p>