Skip to content

Commit ce1cb43

Browse files
Merge pull request #11777 from MicrosoftDocs/main
Publish main to live, 04/26, 3:30 PM IST
2 parents baa87a5 + ff7be60 commit ce1cb43

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

exchange/docs-conceptual/recipient-filters.md

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -190,15 +190,12 @@ When creating your own custom OPATH filters, consider the following items:
190190
- You need to enclose the whole OPATH filter in double quotation marks " " or single quotation marks ' '. Although any OPATH filter object is technically a string and not a script block, you can still use braces { }, but only if the filter doesn't contain variables that require expansion. The characters that you can use to enclose the whole OPATH filter depend on types of values that you're searching for and the characters you used (or didn't use) to enclose those values:
191191

192192
- **Text values**: Depends on how you enclosed the text to search for:
193-
194193
- **Text enclosed in single quotation marks**: Enclose the whole OPATH filter in double quotation marks or braces.
195194
- **Text enclosed in double quotation marks**: Enclose the whole OPATH filter in braces.
196195

197196
- **Variables**: Enclose the whole OPATH filter in double quotation marks (for example, `"Name -eq '$User'"`).
198197

199-
- **Integer values**: Depends on how you enclosed (or didn't enclose) the integer to search for:
200-
201-
- **Integer not enclosed**: Enclose the whole OPATH filter in double quotation marks, single quotation marks, or braces (for example `"CountryCode -eq 840"`).
198+
- **Integer values**: To ensure they work in all cases, enclose them in one of the following ways:
202199
- **Integer enclosed in single quotation marks**: Enclose the whole OPATH filter in double quotation marks or braces `"CountryCode -eq '840'"`.
203200
- **Integer enclosed in double quotation marks**: Enclose the whole OPATH filter in braces (for example `{CountryCode -eq "840"}`).
204201

0 commit comments

Comments
 (0)