Home
Products
Services
About
Contact
Sithik Blog's
Friday, 8 November 2013
Get all library name in sharepoint using powershell
By:
Unknown
on 03:34
Share it Please
Tweet
$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
Subscribe to:
Post Comments (Atom)
Followers
Follow The Author
Top
No comments:
Post a Comment