Skip to content

Commit a6cae60

Browse files
authored
Merge pull request MicrosoftDocs#7707 from anandab-msft/anandab-msft-license-report-cmdlet
added a new cmdlet Get-LicenseReportForChangeNotificationSubscription
2 parents d9991f0 + 1ee5d3b commit a6cae60

File tree

1 file changed

+53
-0
lines changed

1 file changed

+53
-0
lines changed
Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
---
2+
external help file: Microsoft.TeamsCmdlets.PowerShell.Custom.dll-Help.xml
3+
Module Name: MicrosoftTeams
4+
title: Get-LicenseReportForChangeNotificationSubscription
5+
author: anandab
6+
ms.author: anandab
7+
manager: alagra
8+
online version: https://docs.microsoft.com/powershell/module/teams/get-licensereportforchangenotificationsubscription
9+
schema: 2.2.0-preview
10+
---
11+
12+
# Get-LicenseReportForChangeNotificationSubscription
13+
14+
## SYNOPSIS
15+
16+
This cmdlet tells whether a user has the required license to export their messages via [change notification subscription](/graph/teams-licenses).
17+
18+
## SYNTAX
19+
20+
```
21+
Get-LicenseReportForChangeNotificationSubscription [-Period] <Number>
22+
```
23+
24+
## DESCRIPTION
25+
26+
This cmdlet supports retrieving the total number of messages sent by a user in chat/channel and whether a user has the required license(s) to send change notification events when subscribed for chat or channel messages. For more details, please review [Licenses for subscribing to chat messages](/graph/teams-licenses).
27+
This cmdlet is currently supported in preview version only.
28+
29+
## EXAMPLES
30+
31+
### Example
32+
```powershell
33+
PS C:\> Get-DlpUserLicenseReport -Period 7
34+
```
35+
36+
Returns license info and total messages sent by users in the last 7 days.
37+
38+
## PARAMETERS
39+
40+
### -Period
41+
42+
Number of days prior to today. Acceptable values are 7, 30, 90 and 180.
43+
44+
### CommonParameters
45+
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](https://go.microsoft.com/fwlink/?LinkID=113216).
46+
47+
## INPUTS
48+
49+
## OUTPUTS
50+
51+
## NOTES
52+
53+
## RELATED LINKS

0 commit comments

Comments
 (0)