Showing posts with label rename-item. Show all posts
Showing posts with label rename-item. Show all posts

Sunday, January 18, 2009

change filename

to change the name of a file named 'file1.log' to 'file2.log'

PS> rename-item -path r:\temp\file1.log file2.log