Posts

Showing posts from October, 2017

Deleting list or libraries in SharePoint where delete option is not there

In SharePoint, some lists/libraries deletion option could not be found in the settings. Example: Documents, Style Library etc., Their delete option are kept as false by default. To enable Delete option, following script need to be executed, $web = Get-SPWeb <<Site Url>> $list = $web.Lists["Documents"] $list.AllowDeletion = $True $list.Update()