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

SharePoint Alerts Are Going Away: What You Need to Know About Microsoft's Retirement Timeline

Microsoft has announced the retirement of SharePoint Alerts, a feature that has been helping users stay informed about changes to their Shar...