Skip to content

Commit 5c1c88a

Browse files
author
Thomas Raya
authored
Update Get-CsOnlineUser.md
1 parent 81bc36b commit 5c1c88a

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

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

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -250,23 +250,23 @@ _New Operators_
250250

251251
These filtering operators have been reintroduced:
252252

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

255-
```
255+
```PowerShell
256256
Contains Scenario: Get-CsOnlineUser -Filter "DisplayName -like '*abc*'"
257257
Ends with scenario: Get-CsOnlineUser -Filter {DisplayName -like '*abc'}
258258
```
259-
- -contains can now be used to filter properties that are an array of strings like FeatureTypes, ProxyAddresses, and ShadowProxyAddresses. For example:
260-
```
259+
- `-contains` can now be used to filter properties that are an array of strings like FeatureTypes, ProxyAddresses, and ShadowProxyAddresses. For example:
260+
```PowerShell
261261
Get-CsOnlineUser -Filter {FeatureTypes -contains "PhoneSystem"}
262262
Get-CsOnlineUser -Filter {ProxyAddresses -contains "SMTP:[email protected]"}
263263
```
264-
- -gt (greater than), “-lt” (less than), “-le” (less than or equal to) can now be used for filtering all string properties. For example:
265-
```
264+
- `-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
266266
Get-CsOnlineUser -Filter {UserPrincipalName -gt/-le/-lt “abc”}
267267
```
268-
- -ge (greater than or equal to) can now also be used for filtering on policies. For example:
269-
```
268+
- `-ge` (greater than or equal to) can now also be used for filtering on policies. For example:
269+
```PowerShell
270270
Get-CsOnlineUser -Filter {ExternalAccessPolicy -ge "xyz_policy"}
271271
```
272272
**Updates in Teams PowerShell Module version 3.0.0 and above**

0 commit comments

Comments
 (0)