Contact Info

Crumbtrail » Administration » Powershell » Powershell 3.0 » Rename-Item

Rename-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
Renames an item in a Windows PowerShell provider namespace.

Rename-Item [-Path] <String> [-NewName] <String> [-Credential <PSCredential>] [-Force] [-PassThru] [-Confirm] [-WhatIf]
 [-UseTransaction [<SwitchParameter>]] [<CommonParameters>]
Rename-Item [-NewName] <String> [-Credential <PSCredential>] [-Force] [-PassThru] -LiteralPath <String> [-Confirm] [-Wh
atIf] [-UseTransaction [<SwitchParameter>]] [<CommonParameters>]

The Rename-Item cmdlet changes the name of a specified item. This cmdlet does not affect the content of the item being 

You cannot use Rename-Item to move an item, such as by specifying a path along with the new name. To move and rename an
 item, use the Move-Item cmdlet.