Avatar of LioElectronic
LioElectronic
Flag for Australia asked on

Sharepoint 2010 - Deleting Items in the list

Hi,

I have a SharePoint list with around 4000 items.  I would like to delete items in this list before Dec 2016.  I was wondering if there is an easy way to achieve this.

FYI:  I have a workflow associated with this..   If i delete an item, it sends an email to corresponding manager.   So manual deletion will flood emails to managers.

Any help in this is greatly appreciated.

Thanks,
Microsoft SharePoint

Avatar of undefined
Last Comment
Walter Curtis

8/22/2022 - Mon
Walter Curtis

There are a few ways to handle this -

  • Deactivate the email from the workflow and use that. But do you have to run that on each item separately?

  • PowerShell could do this for you.

  • Depends on how much data in the list since Dec 2016 and how complex the list is, but you could save the list as a template, then delete the list thereby delete all of the data, then recreate the list and import the data. If the list is simple, you could save the data you need to save by doing an export to excel.

Hope that helps...
LioElectronic

ASKER
Hi Walter,

I have around 4000 items in the list and around 3000 to be deleted.  I have already archived the list by exporting it to excel.  Now I would like to delete data older than Jan 2017.  
I was wondering if anyone has power shell script to achieve this.  
Thanks,
ASKER CERTIFIED SOLUTION
Walter Curtis

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
Walter Curtis

Any luck?
This is the best money I have ever spent. I cannot not tell you how many times these folks have saved my bacon. I learn so much from the contributors.
rwheeler23
LioElectronic

ASKER
I'm closing this request as we do not need this anymore.  Thanks for all your help.
Walter Curtis

Information provided was accurate and a solution to the question.