Jul 21, 2024

Bulk Rename - Replace _ with space using PowerShell

How to Bulk Rename - Replace _ with space using PowerShell?


Execute below command in PowerShell to replace it,

Make sure you enter correct path.

FYI - it will rename sub folders as well.


Get-ChildItem "C:\Path\to\Files" -Recurse | Rename-Item -NewName {$_.name -replace '_',' '}

Bulk Rename - Replace _ with space using PowerShell

How to Bulk Rename - Replace _ with space using PowerShell? Execute below command in PowerShell to replace it, Make sure you enter correct p...