title: Is there a single PowerShell command to copy and rename files?
body: <p>I am using the following command to copy files from a network share to my local hard drive based on a CSV file.</p>
  
  <pre><code>import-csv C:\TEST\test.csv | foreach {copy-item -path $_.npath -destination 'C:\TEST\'}
  </code></pre>
  
  <p>The next step would be to then use a different CSV file to rename these files based on their current file name.</p>
  
  <p>Is there a command that will allow me to copy and item and rename it as well?</p>