You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: skype/skype-ps/skype/Get-CsTeamsMeetingPolicy.md
+16-3Lines changed: 16 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -37,30 +37,43 @@ The Get-CsTeamsMeetingPolicy cmdlet enables you to return information about all
37
37
## EXAMPLES
38
38
39
39
### -------------------------- Example 1 --------------------------
40
-
```
40
+
```powershell
41
41
Get-CsTeamsMeetingPolicy
42
42
```
43
43
44
44
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.
45
45
46
46
47
47
### -------------------------- Example 2 --------------------------
48
-
```
48
+
```powershell
49
49
Get-CsTeamsMeetingPolicy -Identity SalesPolicy
50
50
```
51
51
52
52
In Example 2, Get-CsTeamsMeetingPolicy is used to return the per-user meeting policy that has an Identity SalesPolicy.
53
53
Because identities are unique, this command will never return more than one item.
54
54
55
55
### -------------------------- Example 3 --------------------------
The preceding command returns a collection of all the meeting policies where the AllowMeetNow property is True.
61
61
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.
62
62
This collection is then piped to the Where-Object cmdlet, which selects only those policies where the AllowMeetNow property is equal to True.
63
63
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).
0 commit comments