Move-Item
noun
say it: “MOOV EYE-tum” /ˈmuv ˈaɪtəm/
A PowerShell command that moves a file or folder to another place, so it's no longer where it was, and can rename it on the way.
What does Move-Item do?
Move-Item moves a file or folder to another place, so it's no longer where it was. Give the new place a new name and it renames on the way. If a file of that name is already there, it stops with an error rather than replace it, unless you add -Force.
Move-Item beach-sunset.jpg photos
In a sentence
- “Move-Item stopped with an error, because the backup folder already had a resume.docx.”
- “Sam used Move-Item to take the beach photo out of Downloads and into photos.”
Level: Novice · More PowerShell terms at this level
Updated