Back to Blog
Arnošt Havelka

Move and Rename Files in PowerShell

Relocate and rename files using Move-Item.

Start Interactive Lesson
Move and Rename Files in PowerShell

Move and Rename Files in PowerShell

The Move-Item command relocates and renames files. Master this versatile operation.

Moving and Renaming

Usage:Move-Item -Path [source] -Destination [dest]
Move/rename to new location or name

Relocation Examples

Command Prompt
archive.txt projects (folder)
C:\Users\User>ls

Knowledge Check

1 / 1

Can Move-Item rename files?

References

These Microsoft Learn and Windows documentation links provide authoritative details for the commands used in this article.

Up Next

Delete Files in PowerShell

Safely remove files using Remove-Item.