SharePoint清单以列出自定义功能,工作流(设计者和自定义),事件接收者,可视化Web部件 [英] SharePoint Inventory to list custom features, workflows (designer and custom), event receivers, visual webparts
问题描述
是否有可能使用powershell创建清单,该清单将列出在Web应用程序中完成的所有自定义?
我正在尝试查找自定义功能,工作流(设计器和VS工作流),事件接收器,可视化Web部件,InfoPath表单.
是否可以使用Powershell创建清单?
谢谢
是的,我们可以使用PowerShell获取清单.但是尚没有现成的PowerShell脚本可在SharePoint中获得所有自定义.
我们需要根据要求开发PowerShell脚本.例如:使用SPFarm.Solutions属性获取服务器场中所有解决方案的集合,并使用 EventReceivers属性可获取在特定范围内发生的事件接收器的集合.
这里有一些示例供您参考:
从SharePoint网站集中获取所有自定义解决方案:
Linda Zhang
>
Hi,
Is it possible to create an inventory using powershell which will list out all the customizations done in the web applications?
I am trying to find the custom features, workflows (designer and VS workflow), event receivers, visual webparts, InfoPath forms.
Is it possible to create an inventory using powershell?
Thanks
Hi Venkatzeus,
Yes, we can get the inventory using PowerShell. But there are not readymade PowerShell scripts to get all customizations in SharePoint.
We need to develop PowerShell scripts based on the requirement. For example: use SPFarm.Solutions property to get the collection of all solutions that are in the server farm, and use EventReceivers property to get the collection of event receivers that occur at the specific scope.
Here are some demoes for your reference:
Get all custom solutions from SharePoint site collection:
Get workflows using PowerShell:
http://bliblablog.net/powershell-script-get-sharepoint-workflows-farm/
Get event receivers:
http://mysharepointwork.blogspot.sg/2010/08/get-all-event-receivers-attached-to.html
Best Regards,
Linda Zhang
这篇关于SharePoint清单以列出自定义功能,工作流(设计者和自定义),事件接收者,可视化Web部件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!