•Arnošt Havelka
Move and Rename Files in PowerShell
Relocate and rename files using Move-Item.
Start Interactive LessonThe Move-Item command relocates and renames files. Master this versatile operation.
Moving and Renaming
Try the command
Move or rename a file!
Build the command
Move-Item -Path [source] -Destination [dest]
Move/rename to new location or name
Terminal
C:\Users\User>Move-Item -Path [source] -Destination [dest]
Relocation Examples
Command Prompt
archive.txt
projects (folder)
C:\Users\User>ls
Knowledge Check
1 / 1Can Move-Item rename files?
References
These documentation links provide authoritative details for the commands used in this article.