List of documents in Entire Sharepoint Site

房东的猫 提交于 2019-12-08 07:02:57

问题


I am trying to get a list of all documents within my SharePoint Site, owner and date last modified.

It is a SharePoint 2010 Enterprise environment.

It's a site which has many subsites.

All solutions I have tried only allow me to get documents at that specific site level and not subsites.

I must admit, I can get the required information by querying the SQL DB directly but don't want to go down this path, as it's unsupported by MS

Any help would be appreciated.


回答1:


You can get this information quite easy by using Powershell, you just need to iterate through all subsites and document libraries.

Take a look at these pages:

http://blog.falchionconsulting.com/index.php/2010/08/getting-an-inventory-of-all-sharepoint-documents-using-windows-powershell/ (This is almost exactly what you require, there are a few extra lines that you don't need).

http://www.sharepoint-journey.com/get-all-document-libraries-in-a-site-collection.html

https://sharepoint.stackexchange.com/questions/126397/powershell-get-a-list-of-all-the-document-libraries-for-a-web-application-incl

http://blogs.msdn.com/b/varun_malhotra/archive/2012/02/08/sharepoint-2010-powershell-download-all-files-in-document-library-to-network-share-file-share.aspx



来源:https://stackoverflow.com/questions/29311450/list-of-documents-in-entire-sharepoint-site

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!