整个Sharepoint网站中的文档列表 [英] List of documents in Entire Sharepoint Site

查看:133
本文介绍了整个Sharepoint网站中的文档列表的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我试图获取我的SharePoint网站中所有文档的列表,所有者和最后修改日期.

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

这是一个SharePoint 2010 Enterprise环境.

这是一个有很多子站点的站点.

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.

我必须承认,我可以通过直接查询SQL DB来获取所需的信息,但是不想走这条路,因为MS不支持它

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

任何帮助将不胜感激.

推荐答案

使用Powershell可以很容易地获得此信息,只需遍历所有子站点和文档库即可.

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

看看这些页面:

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

查看全文

登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆