Bulk Delete Items using PowerShell

The script in this blog will let you bulk delete Sitecore items from content tree without triggering any associated events

New-UsingBlock (New-Object Sitecore.Data.BulkUpdateContext) {
    Get-Item -Path master:/sitecore/content | Remove-Item -Recurse -Permanently
}
Spread the love

Leave a Reply

Your email address will not be published. Required fields are marked *