Sometimes we need to get all the document libraries, developed and used in a SharePoint 2010 site. So, we can get all the document libraries used in the SharePoint by using the given below script.
- Get-SPWeb http://win-ohmrv9tijth:1000/ |
- Select -ExpandProperty Lists |
- Where { $_.GetType().Name -eq "SPDocumentLibrary" } |
- Select Title