SharePoint清单以列出自定义功能,工作流(设计者和自定义),事件接收者,可视化Web部件 [英] SharePoint Inventory to list custom features, workflows (designer and custom), event receivers, visual webparts

查看:69
本文介绍了SharePoint清单以列出自定义功能,工作流(设计者和自定义),事件接收者,可视化Web部件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否有可能使用powershell创建清单,该清单将列出在Web应用程序中完成的所有自定义?

我正在尝试查找自定义功能,工作流(设计器和VS工作流),事件接收器,可视化Web部件,InfoPath表单.

是否可以使用Powershell创建清单?

谢谢

解决方案

是的,我们可以使用PowerShell获取清单.但是尚没有现成的PowerShell脚本可在SharePoint中获得所有自定义.

我们需要根据要求开发PowerShell脚本.例如:使用SPFarm.Solutions属性获取服务器场中所有解决方案的集合,并使用 EventReceivers属性可获取在特定范围内发生的事件接收器的集合.

这里有一些示例供您参考:

从SharePoint网站集中获取所有自定义解决方案:

使用PowerShell获取工作流:

获取事件接收者:

最好的问候,

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:

https://social.technet.microsoft.com/Forums/en-US/886b56f5-17a4-421e-a26f-a2f055df3196/how-to-get-all-site-features-and-custom-features-from-sharepoint-sitecollection?forum=sharepointgeneralprevious

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屋!

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