SharePoint

Avoid Accidental Deletion of SharePoint List

One of my client requested a settings in SharePoint 2010 to avoid accidental deletion of Lists.
Indeed we can recover it from Recycle Bin within 30 days, but they need to avoid deletion. Alternatively we can make a permission settings to avoid deletion.

Let’s see how to do this using PowerShell.

6196305_orig

AllowDeletion is a Property which will allow us to set and get.

3411834_orig

Reference Class
http://msdn.microsoft.com/en-us/library/microsoft.sharepoint.splist.aspx

Leave a Reply

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