Powershell script or .bat file

I need powershell or batch script to remove Only numerical portion of a file example
343Test.txt to Test.txt. if the file is already TEST2.txt then nothing should happen only numerical prefix values are removed

  • Why do you need to rename them, what are you trying to solve?
  • what if there is an existing file with the same name?
  • are there going to be many files you will be doing that for in a folder?