Contact Info

Crumbtrail » Administration » Powershell » Powershell 2.0 » Move-Item

Move-Item - Powershell 2.0 CmdLet

ActiveXperts Network Monitor ships with integrated Powershell scripts to monitor complex network. The scripts run out of the box
Download the ActiveXperts Network Monitor FREE version now »


Short description
Moves an item from one location to another.

Move-Item [-LiteralPath] <string[]> [[-Destination] <string>] [-Credential <PSCredential>] [-Exclude <string[]>] [-
Filter <string>] [-Force] [-Include <string[]>] [-PassThru] [-Confirm] [-WhatIf] [-UseTransaction] [<CommonParamete

Move-Item [-Path] <string[]> [[-Destination] <string>] [-Credential <PSCredential>] [-Exclude <string[]>] [-Filter 
<string>] [-Force] [-Include <string[]>] [-PassThru] [-Confirm] [-WhatIf] [-UseTransaction] [<CommonParameters>]

The Move-Item cmdlet moves an item, including its properties, contents, and child items, from one location to anoth
er location. The locations must be supported by the same provider. For example, it can move a file or subdirectory 
from one directory to another or move a registry subkey from one key to another. When you move an item, it is added
 to the new location and deleted from its original location.