Quantcast
Channel: Powershell – ..:: I like SharePoint ::..
Viewing all articles
Browse latest Browse all 41

SharePoint 2010 Delete a list by using Powershell

$
0
0

If you have a corrupted list which should be deleted this might be helpful to delete the list. Just open Powershell on your server and use this script to delete the list:


Get-SPWeb "YourSiteCollectionUrl" |  Where-Object { $_.Lists.Delete([System.Guid]$_.Lists["Listname"].ID) }


Hope this helps.

..:: I LIKE SHAREPOINT ::..


Viewing all articles
Browse latest Browse all 41

Trending Articles