PS Retrieve list event receivers

You can use the following code to retrieve list event receivers or the given web and list

CODE