I have a list of hundreds of files in a folder at path C:\Users\Files The current files are all named with a leading ID number that is five digits and then continues with the rest of the filename and extension. Using Powershell, I want to add an underscore after the 5th character for all files in this directory.
Before: 12345DocumentA.pdf
After: 12345_DocumentA.pdf
Any help or guidance is appreciated! Thanks, Jenn