문제

I have requirement to get all the list of event receiver names(Not Default) in a share point 2013 site which are custom.

Kindly guide me on identifying the custom receivers only.

Thanks in advance! Kailash

도움이 되었습니까?

해결책

Iterate the event receivers using Get-PnPEventReceiver and look at the ReceiverAssembly property. The ones that start with "Microsoft" are OOB. The ones that are blank, like in the below screen shot, are remote event receivers. Your custom server-side event receivers will have the name of the assembly they were created under.

Get-PnPEventReceiver -List $listName | ft ReceiverName,ReceiverAssembly

https://docs.microsoft.com/en-us/powershell/module/sharepoint-pnp/get-pnpeventreceiver

enter image description here

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 sharepoint.stackexchange
scroll top