Thank you, Kiran. I used Dir | Rename-Item {$_.name -replace …} to get rid of / replace similar characters. I don’t know how to delete text between two characters (underscores in our case). And another question is how to delete something after an underscore at the end of a string of characters.
When you crosspost the same question at the same time to different forums you should at least post links to the crossposts in each forum to avoid other people making work twice or even more.
Probably I would but as stated alreaydy in SO you did not explain what exactly you need to do. You should post some example file names and some examples of the expected result to clarify what you want to achieve.