I need a Powershell script that will find and replace uppercase characters within all the filenames within a directory with nothing.
The script would do something like this:
Filename BEFORE: CAPITAL-letters.jpg
Filename AFTER: -letters.jpg
Edit: I tried running this script, but it didn't work
dir | rename-item -NewName {$_.name -replace [Regex]::Escape("[A-Z"),""}