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

javascript to get the all site user in sharepoint 2010 (Getting all Site users using Client Object Model)

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