Creates a new item clone based on the item provided.
New-ItemClone [-Item] <Item> -Destination <Item> [-Name <String>] [-Recurse]
New-ItemClone [-Path] <String> -Destination <Item> [-Name <String>] [-Recurse]
New-ItemClone -Id <String> [-Database <String>] -Destination <Item> [-Name <String>] [-Recurse]
Detailed Description
Creates a new item clone based on the item provided.
© 2010-2019 Adam Najmanowicz, Michael West. All rights reserved. Sitecore PowerShell Extensions
-Destination <Item>
Parent item under which the clone should be created.
Name of the item clone.
-Recurse <SwitchParameter>
Add the parameter to clone thw whole branch rather than a single item.
The item to be cloned.
Path to the item to be cloned.
Id of the item to be cloned
-Database <String>
Database of the item to be cloned if item is specified through its ID.
The input type is the type of the objects that you can pipe to the cmdlet.
The output type is the type of the objects that the cmdlet emits.
Help Author: Adam Najmanowicz, Michael West
Clone /sitecore/content/home/ under /sitecore/content/new-target/ with the "New Home" name.