Changes the name of an existing item.
Snap-In: Microsoft.PowerShell.Management
Syntax:
Rename-Item
[-Path] <String> [-NewName] <String> [-Force] [-PassThru] [-Credential <PSCredential>] [-Verbose] [-Debug] [-ErrorAction <ActionPreference>] [-ErrorVariable <String>] [-OutVariable <String>] [-OutBuffer <Int32>] [-WhatIf] [-Confirm]
Description:
The rename-item Cmdlet changes an item's name within a namespace. It does not affect the stored data.