Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Renaming Get-PnPWebhooksubscriptions to Get-PnPWebhooksubscription #3551

Merged
merged 2 commits into from
Nov 10, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,21 +1,21 @@
---
Module Name: PnP.PowerShell
title: Get-PnPWebhookSubscriptions
title: Get-PnPWebhookSubscription
schema: 2.0.0
applicable: SharePoint Online
external help file: PnP.PowerShell.dll-Help.xml
online version: https://pnp.github.io/powershell/cmdlets/Get-PnPWebhookSubscriptions.html
online version: https://pnp.github.io/powershell/cmdlets/Get-PnPWebhookSubscription.html
---

# Get-PnPWebhookSubscriptions
# Get-PnPWebhookSubscription

## SYNOPSIS
Gets all the Webhook subscriptions of the resource

## SYNTAX

```powershell
Get-PnPWebhookSubscriptions [-List <ListPipeBind>] [-Connection <PnPConnection>]
Get-PnPWebhookSubscription [-List <ListPipeBind>] [-Connection <PnPConnection>]

```

Expand All @@ -27,14 +27,14 @@ Allows to retrieve Webhook subscriptions of specified list.

### EXAMPLE 1
```powershell
Get-PnPWebhookSubscriptions -List MyList
Get-PnPWebhookSubscription -List MyList
```

Gets all Webhook subscriptions of the list MyList

### EXAMPLE 2
```powershell
Get-PnPList | Get-PnPWebhookSubscriptions
Get-PnPList | Get-PnPWebhookSubscription
```

Gets all Webhook subscriptions of the all the lists
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,10 @@

namespace PnP.PowerShell.Commands.Webhooks
{
[Cmdlet(VerbsCommon.Get, "PnPWebhookSubscriptions")]
[Alias("Get-PnPWebhookSubscriptions")]
[Cmdlet(VerbsCommon.Get, "PnPWebhookSubscription")]
[OutputType(typeof(WebhookSubscription))]
public class GetWebhookSubscriptions : PnPWebCmdlet
public class GetWebhookSubscription : PnPWebCmdlet
{
[Parameter(Mandatory = false, ValueFromPipeline = true)]
public ListPipeBind List;
Expand Down
Loading