title: Rename first 20 characters of every filename in a file
body: <p>I am trying to write a script in powershell to remove the first 20 characters of every MP3 filename in a folder, I have created a file 'test.ps' and inserted the powershell code below into it,</p>
  
  <pre><code>gci *.mp3 | rename-item -newname { [string]($_.name).substring(20) }
  </code></pre>
  
  <p>When I run this file in powershell.exe nothing happens, </p>
  
  <p>Can anyone help? Thanks.</p>