File tree Expand file tree Collapse file tree 2 files changed +9
-8
lines changed Expand file tree Collapse file tree 2 files changed +9
-8
lines changed Original file line number Diff line number Diff line change 1
1
---
2
2
Module Name : PnP.PowerShell
3
- title : Get-PnPWebhookSubscriptions
3
+ title : Get-PnPWebhookSubscription
4
4
schema : 2.0.0
5
5
applicable : SharePoint Online
6
6
external help file : PnP.PowerShell.dll-Help.xml
7
- online version : https://pnp.github.io/powershell/cmdlets/Get-PnPWebhookSubscriptions .html
7
+ online version : https://pnp.github.io/powershell/cmdlets/Get-PnPWebhookSubscription .html
8
8
---
9
9
10
- # Get-PnPWebhookSubscriptions
10
+ # Get-PnPWebhookSubscription
11
11
12
12
## SYNOPSIS
13
13
Gets all the Webhook subscriptions of the resource
14
14
15
15
## SYNTAX
16
16
17
17
``` powershell
18
- Get-PnPWebhookSubscriptions [-List <ListPipeBind>] [-Connection <PnPConnection>]
18
+ Get-PnPWebhookSubscription [-List <ListPipeBind>] [-Connection <PnPConnection>]
19
19
20
20
```
21
21
@@ -27,14 +27,14 @@ Allows to retrieve Webhook subscriptions of specified list.
27
27
28
28
### EXAMPLE 1
29
29
``` powershell
30
- Get-PnPWebhookSubscriptions -List MyList
30
+ Get-PnPWebhookSubscription -List MyList
31
31
```
32
32
33
33
Gets all Webhook subscriptions of the list MyList
34
34
35
35
### EXAMPLE 2
36
36
``` powershell
37
- Get-PnPList | Get-PnPWebhookSubscriptions
37
+ Get-PnPList | Get-PnPWebhookSubscription
38
38
```
39
39
40
40
Gets all Webhook subscriptions of the all the lists
Original file line number Diff line number Diff line change 7
7
8
8
namespace PnP . PowerShell . Commands . Webhooks
9
9
{
10
- [ Cmdlet ( VerbsCommon . Get , "PnPWebhookSubscriptions" ) ]
10
+ [ Alias ( "Get-PnPWebhookSubscriptions" ) ]
11
+ [ Cmdlet ( VerbsCommon . Get , "PnPWebhookSubscription" ) ]
11
12
[ OutputType ( typeof ( WebhookSubscription ) ) ]
12
- public class GetWebhookSubscriptions : PnPWebCmdlet
13
+ public class GetWebhookSubscription : PnPWebCmdlet
13
14
{
14
15
[ Parameter ( Mandatory = false , ValueFromPipeline = true ) ]
15
16
public ListPipeBind List ;
You can’t perform that action at this time.
0 commit comments