This forum is for scripting questions rather than script requests. We do not write customized and ready to use scripts or solutions on request.
We actually expect you to make an own attempt at the first place to get your task done or to solve your problem. If you have done so already please document here what exactly you have done and show your code. Then we probably might be able to help you step further.
Regardless of that … When you post code, sample data, console output or error messages please format it as code using the preformatted text button ( </> ). Simply place your cursor on an empty line, click the button and paste your code.
( !! Sometimes the preformatted text button hides behind the settings gear symbol. )
And last but not least … you don’t have to re-invent the wheel again and again … renaming files is a very basic and common task to do in PowerShell. There are literally thousands of code examples out there you can easily adapt to your own particular needs. So please use your prefered internet search engine to look for suitable code examples.