Renaming: Rename-Item

Rename-Item gives a file or folder a new name in the folder it's already in; the new name is only a name, so renaming and moving in one step is Move-Item's job, and Rename-Item never replaces a file that already has the new name.

Updated

Cheat sheet for the lesson Renaming: Rename-Item: Rename-Item gives a file or folder a new name in the folder it's already in; the new name is only a name, so renaming and moving in one step is Move-Item's job, and Rename-Item never replaces a file that already has the new name.
Category
PowerShell
Level
Novice
Tags
File Extension, move-item, operating-system, powershell, rename-item