I recently tried using New-ItemClone command on SPE and encountered this error:
System.AggregateException,Cognifide.PowerShell.Commandlets.Data.Clones.NewItemCloneCommand
These are the codes used:
$master = Get-Item .
$destination = Get-Item -Path "master:\content"
$siteName = "myNewSite"
$newSite = New-ItemClone $master -Destination $destination -Name $siteName -Recurse
I'm using Sitecore 8 update 2 and SPE 4.7.2
Any clue what this might be? I'm new to using Sitecore cloning. Is there a particular item that can't be cloned? I've searched for documentations but can't find a specific one for this error.
item:saving
handler)item:saving
?