rename dir powershell code example
Example 1: how ro rename a foldre powershell
Rename-Item D:\temp\Test D:\temp\Test1
Example 2: rename file powershell
mv original_filename.whatever new_filename.whatever
Rename-Item D:\temp\Test D:\temp\Test1
mv original_filename.whatever new_filename.whatever