Rename any matches from all files

get-childitem -Path *est*.txt | rename-item -NewName {$_.name -replace "est",
"iag"}

http://andrwwatt.wordpress.com/2006/05/13/limitations-of-the-rename-item-cmdlet/

Comments

Popular posts from this blog

Mobile development opportunities

Breaking down document locking in SharePoint

Working around X-Frame-Options for iframes