A colleague of mine asked me if I could make a PowerShell script which would rename all of his jpg photos on his NAS. All photos need to be renamed to the (parent) folder they are in.
I decided to write it in a function with multiple for loops (for readability) and to put in a jpg filter. If you want different files to be renamed, just change that filter (or extend it).
The Continue reading