Skip to content

Commit fa4d50b

Browse files
author
Thomas Raya
authored
Update Get-CsOnlineUser.md
remove devlang and separate code blocks with new lines
1 parent 5c1c88a commit fa4d50b

File tree

1 file changed

+11
-4
lines changed

1 file changed

+11
-4
lines changed

skype/skype-ps/skype/Get-CsOnlineUser.md

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -252,23 +252,30 @@ These filtering operators have been reintroduced:
252252

253253
- `-like` operator now supports the use of wildcard operators in ‘contains’ and ‘ends with’ scenarios. For example:
254254

255-
```PowerShell
255+
```
256256
Contains Scenario: Get-CsOnlineUser -Filter "DisplayName -like '*abc*'"
257257
Ends with scenario: Get-CsOnlineUser -Filter {DisplayName -like '*abc'}
258258
```
259+
259260
- `-contains` can now be used to filter properties that are an array of strings like FeatureTypes, ProxyAddresses, and ShadowProxyAddresses. For example:
260-
```PowerShell
261+
262+
```
261263
Get-CsOnlineUser -Filter {FeatureTypes -contains "PhoneSystem"}
262264
Get-CsOnlineUser -Filter {ProxyAddresses -contains "SMTP:[email protected]"}
263265
```
266+
264267
- `-gt` (greater than), “-lt” (less than), “-le” (less than or equal to) can now be used for filtering all string properties. For example:
265-
```PowerShell
268+
269+
```
266270
Get-CsOnlineUser -Filter {UserPrincipalName -gt/-le/-lt “abc”}
267271
```
272+
268273
- `-ge` (greater than or equal to) can now also be used for filtering on policies. For example:
269-
```PowerShell
274+
275+
```
270276
Get-CsOnlineUser -Filter {ExternalAccessPolicy -ge "xyz_policy"}
271277
```
278+
272279
**Updates in Teams PowerShell Module version 3.0.0 and above**
273280

274281
The following updates are applicable for organizations having TeamsOnly users that use Microsoft Teams PowerShell version 3.0.0 and later (excluding updates mentioned previously for Teams PowerShell Module version 5.0.0):

0 commit comments

Comments
 (0)