File tree Expand file tree Collapse file tree 1 file changed +11
-0
lines changed Expand file tree Collapse file tree 1 file changed +11
-0
lines changed Original file line number Diff line number Diff line change @@ -91,6 +91,17 @@ The command shown in Example 5 returns information for all the online users assi
91
91
To accomplish the task, the command includes the Filter parameter along with the filter value {TenantId -eq "bf19b7db-6960-41e5-a139-2aa373474354"}.
92
92
This filter limits the returned data to online users assigned to the tenant "bf19b7db-6960-41e5-a139-2aa373474354".
93
93
94
+ ### -------------------------- Example 6 --------------------------
95
+ ```
96
+ PS C:\> $MeetingPolicy="Kiosk"
97
+ PS C:\> $filterString = 'TeamsMeetingPolicy -eq "{0}"' -f $MeetingPolicy
98
+ PS C:\> Get-CsOnlineUser -Filter $filterString
99
+ ```
100
+
101
+ The commands shown in Example 6 filters all the online users with a certain TeamsMeetingPolicy assigned using a variable as filter input.
102
+ To accomplish the task, the filter string is first constructed and resolved locally and then used by the Get-CsOnlineUser cmdlet.
103
+
104
+
94
105
95
106
## PARAMETERS
96
107
You can’t perform that action at this time.
0 commit comments