title: Adding an auto-incrementing number to a file name string
body: <p>I would like my PowerShell script to modify the name of the file by increment number every time.</p>
  
  <p>This is my file name: <code>abc-0.2.0.1-SNAPSHOT-barista.zip</code>.
  I want to write a syntax that will increment it every time like mentioned below:</p>
  
  <pre>
  abc-0.2.0.2-SNAPSHOT-barista.zip
  abc-0.2.0.3-SNAPSHOT-barista.zip
  abc-0.2.0.4-SNAPSHOT-barista.zip
  abc-0.2.0.5-SNAPSHOT-barista.zip
  abc-0.2.0.6-SNAPSHOT-barista.zip
  abc-0.2.0.7-SNAPSHOT-barista.zip
  abc-0.2.0.8-SNAPSHOT-barista.zip
  abc-0.2.0.9-SNAPSHOT-barista.zip
  abc-0.2.0.10-SNAPSHOT-barista.zip
  abc-0.2.0.11-SNAPSHOT-barista.zip
  </pre>
  
  <p>and so on &hellip;</p>