Monday 14 October 2013

Remove character from folder name

Have you ever needed to remove a character from a bunch of folders? This Powershell script does the trick.


Get-ChildItem -name | ForEach-Object { Move-Item $_ $_.replace("character to remove", "") }

No comments:

Post a Comment