Add-PSSnapin Microsoft.SharePoint.PowerShell -ErrorAction SilentlyContinue
#Get the web
$Web = Get-SPWeb "<website>"
#Get the Target List
$List = $Web.Lists["Document"]
#Retrieve all event receivers associated with the list
$List.EventReceivers | Select Id, Type, Assembly, Class | FL
#Get the web
$Web = Get-SPWeb "<website>"
#Get the Target List
$List = $Web.Lists["Document"]
#Retrieve all event receivers associated with the list
$List.EventReceivers | Select Id, Type, Assembly, Class | FL
No comments:
Post a Comment