title: Remove percentages from robocopy log
body: <p>I'm using an older version of <code>robocopy</code> that includes percentages in the log even if the <code>/NJH</code> and <code>/NJS</code> paramters are set. So I'd like to remove the percentages from the log:</p>
  
  <pre>
              72880735    H:\1.txt
  100%  
              33038490    H:\10.txt
  100%  
              64878348    H:\2.txt
  100%  
              25875810    H:\3.txt
    0%  
  100%  
  </pre>
  
  <p>I've tried with </p>
  
  <pre><code>(Get-Content $logfile) | Where-Object {
      $_ -match '[\s](\d{1,})(\s+)(\w\W\W.+)'
  } | Set-Content $logfile
  </code></pre>
  
  <p>But that results in</p>
  
  <pre>
              72880735    H:\1.txt
              33038490    H:\10.txt 
              64878348    H:\2.txt
              25875810    H:\3.txt
    0%  
  </pre>
  
  <p>So I get the 100%'s stripped out, but not the 0%.</p>