title: Removing more than one white space in powershell
body: <p>I was trying to find a way in powershell to remove more than one white space.</p>
  
  <p>But what i found is how to do it in php. "<a href="https://stackoverflow.com/questions/2887023/removing-more-than-one-white-space">Removing more than one white-space</a>"</p>
  
  <p>There will be similar regular expression may available .</p>
  
  <p>How to acheive the same in powershell?</p>
  
  <p>My string is like this </p>
  
  <pre><code>Xcopy Source  Desination
  </code></pre>
  
  <p>Some lines may contain more than one white space between Source and destination.</p>