Skip to content

Commit 189359d

Browse files
authored
Merge pull request #8456 from YuriySamorodov/patch-33
NewMeetingRecordingExpirationDays Example
2 parents d97b94c + 7a97b24 commit 189359d

File tree

1 file changed

+16
-3
lines changed

1 file changed

+16
-3
lines changed

skype/skype-ps/skype/Get-CsTeamsMeetingPolicy.md

Lines changed: 16 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,30 +37,43 @@ The Get-CsTeamsMeetingPolicy cmdlet enables you to return information about all
3737
## EXAMPLES
3838

3939
### -------------------------- Example 1 --------------------------
40-
```
40+
```powershell
4141
Get-CsTeamsMeetingPolicy
4242
```
4343

4444
In Example 1, Get-CsTeamsMeetingPolicy is called without any additional parameters; this returns a collection of all the teams meeting policies configured for use in your organization.
4545

4646

4747
### -------------------------- Example 2 --------------------------
48-
```
48+
```powershell
4949
Get-CsTeamsMeetingPolicy -Identity SalesPolicy
5050
```
5151

5252
In Example 2, Get-CsTeamsMeetingPolicy is used to return the per-user meeting policy that has an Identity SalesPolicy.
5353
Because identities are unique, this command will never return more than one item.
5454

5555
### -------------------------- Example 3 --------------------------
56-
```
56+
```powershell
5757
Get-CsTeamsMeetingPolicy | Where-Object {$_.AllowMeetNow -eq $True}
5858
```
5959

6060
The preceding command returns a collection of all the meeting policies where the AllowMeetNow property is True.
6161
To do this, Get-CsTeamsMeetingPolicy is first called without any parameters in order to return a collection of all the policies configured for use in the organization.
6262
This collection is then piped to the Where-Object cmdlet, which selects only those policies where the AllowMeetNow property is equal to True.
6363

64+
### -------------------------- Example 4 --------------------------
65+
```powershell
66+
Get-CsTeamsMeetingPolicy -Identity Global | fl NewMeetingRecordingExpirationDays
67+
```
68+
69+
```Output
70+
NewMeetingRecordingExpirationDays : 60
71+
```
72+
73+
The above command returns expiration date setting currently applied on TMR. For more details, see:
74+
[Auto-expiration of Teams meeting recordings](https://docs.microsoft.com/microsoftteams/cloud-recording#auto-expiration-of-teams-meeting-recordings).
75+
76+
6477
## PARAMETERS
6578

6679
### -Filter

0 commit comments

Comments
 (0)