title: Powershell equivalent to sponge in moreutils?
body: <p>There's a GNU program called <i>sponge</i> that soaks up input before writing to a file so you can do something like this: <code>cat myFile | grep "myFilter" | sponge myFile</code></p>
  
  <p>Is there a powershell equivalent, so I can work on a file in place, without having to pipe to a temporary file?</p>
  
  <p>Thanks</p>