Advertisement
iavellaneda

batch file rename ps

Jun 21st, 2017
56
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Get-ChildItem -Filter*current*-Recurse | Rename-Item -NewName {$_.name -replace ‘current’,’old’ }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement