SharePoint and Asp.net Blog
Works as a SharePoint Developer at SharePointFrontier, Chennai, India
Sunday, 6 October 2013
Get all library name in sharepoint using powershell
$s = Get-SPSite
http://abcd:1111/sites/Demo1/
$wc = $s.AllWebs
foreach($w in $wc)
{
foreach($l in $w.Lists){
if($l.BaseTemplate -eq "DocumentLibrary")
{
Write-Host $l.Title"(Web: "$w.Title")"
}
}
}
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment