Get-SPOEventReceiver

Retrieves the Event Receivers for the Site Collection or a specific Site.

Get-SPOEventReceiver [-Web [<SPOWebPipeBind>]]

Parameters

1

ParameterRequiredTypeDescription
WebFalseSPOWebPipeBind

Specifies the identity of the Site whose Event Receiver Definitions will be retrieved.

The type must be a valid server relative URL, in the form /site_name, or an SPOWeb object, Microsoft.SharePoint.Client.Web object, or GUID representing the Site ID.

If not specified then the current Site Collection's Event Receiver Definitions will be retrieved.

Detailed Description

If the -Web parameter is not provided then the Site Collection scoped Event Receivers are returned; otherwise, the Site scoped Event Receivers for a given Site are returned.

Copyright 2016 Falchion Consulting, LLC

> For more information on this cmdlet and others:

> http://blog.falchionconsulting.com/

> Use of this cmdlet is at your own risk.

> Gary Lapointe assumes no liability.

Examples

------------------EXAMPLE 1-----------------------

PS C:\> Get-SPOEventReceiver -Web "/"

Retrieves all Site scoped Event Receivers for the root Site.

------------------EXAMPLE 2-----------------------

PS C:\> Get-SPOEventReceiver

Retrieves all Site Collection scoped Event Receivers.