问题
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