Skip to content

Latest commit

 

History

History
72 lines (52 loc) · 1.66 KB

Get-PnPWebhookSubscriptions.md

File metadata and controls

72 lines (52 loc) · 1.66 KB
external help file applicable schema
SharePoint Online
2.0.0

Get-PnPWebhookSubscriptions

SYNOPSIS

Gets all the Webhook subscriptions of the resource

SYNTAX

Get-PnPWebhookSubscriptions [-List <ListPipeBind>]
                            [-Web <WebPipeBind>]
                            [-Connection <SPOnlineConnection>]

EXAMPLES

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

PS:> Get-PnPWebhookSubscriptions -List MyList

Gets all Webhook subscriptions of the list MyList

PARAMETERS

-List

The list object or name to get the Webhook subscriptions from

Type: ListPipeBind
Parameter Sets: (All)

Required: False
Position: Named
Accept pipeline input: False

-Connection

Optional connection to be used by cmdlet. Retrieve the value for this parameter by eiter specifying -ReturnConnection on Connect-PnPOnline or by executing Get-PnPConnection.

Type: SPOnlineConnection
Parameter Sets: (All)

Required: False
Position: Named
Accept pipeline input: False

-Web

This parameter allows you to optionally apply the cmdlet action to a subweb within the current web. In most situations this parameter is not required and you can connect to the subweb using Connect-PnPOnline instead. Specify the GUID, server relative url (i.e. /sites/team1) or web instance of the web to apply the command to. Omit this parameter to use the current web.

Type: WebPipeBind
Parameter Sets: (All)

Required: False
Position: Named
Accept pipeline input: False

OUTPUTS

OfficeDevPnP.Core.Entities.WebhookSubscription

RELATED LINKS

SharePoint Developer Patterns and Practices