Delete Sharepoint List Using PowerShell

    $web = get-spweb -Identity http://sp2010
    $list = $web.lists["corrupted list name"]
    $list.AllowDeletion = $true
    $list.Update()
    $list.Delete()

Comments

Popular posts from this blog

How to copy DLLs from GAC.

Disable all day event, Recurrence,Workspace Fields in Calendar list