AllowDeletion in SharePoint


Hello SharePoint folks, It's nice interesting thing to know.How many of you tried to delete Images library, Documents library through SharePoint? yeah you are absolutely correct.. It's not possible!! To make sure that it will work .run the following powershell commands. These libraries are created with allow deletion property as false. So Let's change that through the following
 

web = Get-SPWeb http://mysites/home/

$list = $web.Lists["Documents"]

$list.AllowDeletion = $True

 $list.Update()
Now you can see the Delete this Library option.
 
Happy Share Pointing :-)
Ebook Download
View all
Learn
View all