×
Search results provided by Azure Search - read how I built it in this post.

// May 2013

Max Melcher

2 minute read

Previously I had a little console app to efficiently empty large SharePoint lists. Today I converted it to powershell. SharePoint Online? Read this: Efficiently empty a large Sharepoint Online List Compared to the simple item by item delete with item.Delete() its 30 times faster; on my dev machine it deletes ~30 items per second. It works for SharePoint 2010 and should for 2013 (not tested, yet). Script param($weburl,$listname) if ($weburl -eq $null -or $listname -eq $null) { write-host -foregroundcolor red "