Contact Info

Crumbtrail » Administration » Powershell » Powershell 3.0 » Move-Item

Move-Item - Powershell 3.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 [-Path] <String[]> [[-Destination] <String>] [-Credential <PSCredential>] [-Exclude <String[]>] [-Filter <Str
ing>] [-Force] [-Include <String[]>] [-PassThru] [-Confirm] [-WhatIf] [-UseTransaction [<SwitchParameter>]] [<CommonPar
Move-Item [[-Destination] <String>] [-Credential <PSCredential>] [-Exclude <String[]>] [-Filter <String>] [-Force] [-In
clude <String[]>] [-PassThru] -LiteralPath <String[]> [-Confirm] [-WhatIf] [-UseTransaction [<SwitchParameter>]] [<Comm

The Move-Item cmdlet moves an item, including its properties, contents, and child items, from one location to another l
ocation. 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.