title: Remove Empty Lines From Powershell Output
body: <p>i've a little problem in powershell with all my cmd output.
  I have to see on the screen a short cmd result.
  In the specific this is one of my problem:</p>
  
  <p>cmd</p>
  
  <pre><code>PS C:\C_Directory&gt; ls -Filter *.err|Measure-Object -Line| fw
  
  
  1
  
   
  </code></pre>
  
  <p>As you can see, the Format Wide output it's with more empity lines. How can i transfor this output in :</p>
  
  <pre><code>1
  </code></pre>
  
  <p>Thanks in advance.</p>