Quantcast
Channel: SharePoint 2010 - General Discussions and Questions forum
Viewing all articles
Browse latest Browse all 17574

Delete the CustomList in sharepoint 2010 using powerShell

$
0
0

 Just Follow the below steps

  open Sharepoint 2010 Management Shell

Syntax:-

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


Example:-

  here  YourSiteCollectionUrl= http://sfs03-pc:2222/sites/Ajax/  ListName="Test"

 Get-SPWeb "http://sfs03-pc:2222/sites/Ajax/" 

Viewing all articles
Browse latest Browse all 17574

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>