Get all webpart properties via PowerShell for each page on a SharePoint site

流过昼夜 提交于 2019-12-10 11:28:57

问题


I have a site in SharePoint 2007 (not mine personally) with some subsites. For each subsite, and each of its pages, how can I get all the webpart's properties?

This is using PowerShell (the server does not have Visual Studio, another matter).


回答1:


You will probably have to do some batch programing, iterate sites, pages ... but maybe you can find solution on these links:

Automating SharePoint 2007 Configurations via STSADM and PowerShell
Enumerate Page Web Parts

You can also write program on another machine using C# and just execute it on SharePoint server.



来源:https://stackoverflow.com/questions/2075619/get-all-webpart-properties-via-powershell-for-each-page-on-a-sharepoint-site

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