title: How can I bulk rename files in PowerShell?
body: <p>I'm trying to do the following:</p>
  
  <pre><code>Rename-Item c:\misc\*.xml *.tmp
  </code></pre>
  
  <p>I basically want to change the extension on every files within a directory to <code>.tmp</code> instead of <code>.xml</code>. I can't seem to find a straight forward way to do this in PowerShell.</p>