Explore the Experience in SharePoint 2013

Thursday, July 3, 2014

No comments
How to check Event Receiver is Attached or not ..to specific list/Library


Sometimes we come across a situation where we want to check event reciver is attached to list/library .
At that time if we run the below power Shell Script in Management Power Shell . then we can easily identify the event reciver attached to the list .




$web = Get-SPWeb "Server URL"
#$web=$site.OpenWeb();          
$spList = $web.Lists["List/Library Name"] 
$spList.EventReceivers | Select Name, Assembly, Type



Need to  Save the file As .ps1 and open Managemnet Power sheel as admin run the path




No comments :

Post a Comment