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

SharePoint 2010: JavaScript Code To Check if user exists in a group (ECMA)

How to copy DLLs from GAC.