I\'m trying to recursively rename a bunch of TFS folders using tf rename, PowerShell and a regular expression but I\'m having some issues with PowerShell as I haven
tf rename
Try this:
dir . | foreach { $newname = $_.Name -replace "^5", "2.3.2"; tf rename $_ $newname }