Wednesday, 4 February 2015

Get List of event receiver attached to List/Library using powershell sharepoint

To get list of event receiver attached to list /Library use followingpowershell script:

Add-PSSnapin microsoft.sharepoint.powershell -ErrorAction SilentlyContinue
$web=Get-SPWeb "WebURL"
$list=$web.Lists["ListName"]
$list.EventReceivers | Select Name, Assembly, Type

No comments:

Post a Comment

Fixing the “Refinement Filters Limit (100)” Issue in SharePoint Search Using JavaScript

Issue: Receently we were working PNP search webparts. When working with SharePoint Search refiners, you may eventually run into a frustratin...