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