[Solved] Powershell & Regex – How to find and delete uppercase characters from file names in directory [closed]
since this got answers, for full clarity: Remove -WhatIf when you’re running it. Get-ChildItem | Rename-Item -NewName {$_.Name -creplace “[A-Z]”} -WhatIf This pipes Get-ChildItem into Rename-Item and then Sets the NewName to be the old name, except we’ve case-sensitively replaced any capital letters with nothing. 3 solved Powershell & Regex – How to find and … Read more