Skip to content

Commit d7f4362

Browse files
committed
Update New-MigrationBatch.md
ContentFilter param description per TR
1 parent b1b8422 commit d7f4362

File tree

1 file changed

+3
-15
lines changed

1 file changed

+3
-15
lines changed

exchange/exchange-ps/exchange/New-MigrationBatch.md

Lines changed: 3 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -675,21 +675,9 @@ Accept wildcard characters: False
675675
### -ContentFilter
676676
This parameter is available only in the cloud-based service.
677677

678-
The ContentFilter parameter uses OPath filter syntax to filter the results by the specified properties and values. Only contents that match the ContentFilter parameter will be exported into the .pst file. The search criteria uses the syntax `"Property -ComparisonOperator 'Value'"`.
678+
The ContentFilter parameter uses OPath filter syntax to filter the messages by Received date. For example, `"Received -gt '8/23/2020'"`.
679679

680-
- Enclose the whole OPath filter in double quotation marks " ". If the filter contains system values (for example, `$true`, `$false`, or `$null`), use single quotation marks ' ' instead. Although this parameter is a string (not a system block), you can also use braces { }, but only if the filter doesn't contain variables.
681-
682-
- Property is a filterable property. For filterable properties, see [Filterable properties for the ContentFilter parameter](https://docs.microsoft.com/exchange/filterable-properties-for-the-contentfilter-parameter).
683-
684-
- ComparisonOperator is an OPath comparison operator (for example `-eq` for equals and `-like` for string comparison). For more information about comparison operators, see [about_Comparison_Operators](https://docs.microsoft.com/powershell/module/microsoft.powershell.core/about/about_comparison_operators).
685-
686-
- Value is the property value to search for. Enclose text values and variables in single quotation marks (`'Value'` or `'$Variable'`). If a variable value contains single quotation marks, you need to identify (escape) the single quotation marks to expand the variable correctly. For example, instead of `'$User'`, use `'$($User -Replace "'","''")'`. Don't enclose integers or system values (for example, `500`, `$true`, `$false`, or `$null`).
687-
688-
You can chain multiple search criteria together using the logical operators `-and` and `-or`. For example, `"Criteria1 -and Criteria2"` or `"(Criteria1 -and Criteria2) -or Criteria3"`.
689-
690-
For detailed information about OPath filters in Exchange, see [Additional OPATH syntax information](https://docs.microsoft.com/powershell/exchange/recipient-filters#additional-opath-syntax-information).
691-
692-
You can specify the language of the filter by using the ContentFilterLanguage parameter.
680+
You can specify the date/time by using the ContentFilterLanguage parameter.
693681

694682
```yaml
695683
Type: String
@@ -707,7 +695,7 @@ Accept wildcard characters: False
707695
### -ContentFilterLanguage
708696
This parameter is available only in the cloud-based service.
709697

710-
The ContentFilterLanguage parameter specifies the language for the ContentFilter parameter.
698+
The ContentFilterLanguage parameter specifies the date/time for the ContentFilter parameter.
711699

712700
Valid input for this parameter is a supported culture code value from the Microsoft .NET Framework CultureInfo class. For example, da-DK for Danish or ja-JP for Japanese. For more information, see [CultureInfo Class](https://docs.microsoft.com/dotnet/api/system.globalization.cultureinfo).
713701

0 commit comments

Comments
 (0)