I have a hard drive containing files with names that have been formatted by the "File History" feature of windows. A typical file name looks like this:
Randomfile - blah (2015_05_29 14_56_40 UTC).docx
or
1415374402647_res_original (2015_05_31 15_33_12 UTC).jpg
What I need to do, is remove the date/time stamp that is present at the end of each file. There are too many files to do it manually and that's why I wish to use powershell and regex to do this for me. It also needs to be recursive so it will search sub folders too.
My OS is Win7 Ultimate.