PowerShell

Move-Item

CautionMove/rename (PS)

Move-Item <src> <dest>

Moves or renames files/folders.

Examples

  • Move-Item old.txt archive\Move into archive

Syntax

Move-Item <src> <dest> [-Force]

Before you run it

-Force overwrites.

Related commands

The same reference, with no signal at all

Every command and flow from this site, held on your device and searchable with no connection. Free to install, no ads.

Get it free on the App Store