Skip to content

Commit a5d0b44

Browse files
authored
Merge pull request #10842 from DxSnow/patch-1
Update Start-HistoricalSearch.md
2 parents 56ba36a + 2b92542 commit a5d0b44

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

exchange/exchange-ps/exchange/Start-HistoricalSearch.md

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -55,12 +55,12 @@ You need to be assigned permissions before you can run this cmdlet. Although thi
5555

5656
### Example 1
5757
```powershell
58-
Start-HistoricalSearch -ReportTitle "Fabrikam Search" -StartDate 1/1/2018 -EndDate 1/7/2018 -ReportType MessageTrace -SenderAddress [email protected] -NotifyAddress [email protected]
58+
Start-HistoricalSearch -ReportTitle "Fabrikam Search" -StartDate 1/1/2023 -EndDate 1/7/2023 -ReportType MessageTrace -SenderAddress [email protected] -NotifyAddress [email protected]
5959
```
6060

6161
This example starts a new historical search named "Fabrikam Search" that has the following properties:
6262

63-
- Date range: January 1, 2018 to January 7, 2018
63+
- Date range: January 1 2023 to January 6 2023. Because we aren't specifying the time of day, the value 0:00 AM is used. In this example, the date range is equivalent to -StartDate "1/1/2023 0:00 AM" -EndDate "1/7/2023 0:00 AM"
6464
- Report type: Message trace
6565
- Sender address: [email protected]
6666
- Internal notification email address: [email protected]
@@ -72,7 +72,9 @@ The EndDate parameter specifies the end date of the date range.
7272

7373
Use the short date format that's defined in the Regional Options settings on the computer where you're running the command. For example, if the computer is configured to use the short date format mm/dd/yyyy, enter 09/01/2018 to specify September 1, 2018. You can enter the date only, or you can enter the date and time of day. If you enter the date and time of day, enclose the value in quotation marks ("), for example, "09/01/2018 5:00 PM".
7474

75-
You also need to specify at least one of the following values in the command: MessageID, RecipientAddress, or SenderAddress.
75+
If you don't specify the time of day, the default value 0:00 AM is used. For example, the value 12/31/2022 is really "12/31/2022 0:00 AM", which means no data from 12/31/2022 is included (only data from 12/30/2022 is included).
76+
77+
You also need to use at least one of the following parameters in the command: MessageID, RecipientAddress, or SenderAddress.
7678

7779
```yaml
7880
Type: DateTime
@@ -90,7 +92,7 @@ Accept wildcard characters: False
9092
### -ReportTitle
9193
The ReportTitle parameter specifies a descriptive name for the historical search. If the value contains spaces, enclose the value in quotation marks (").
9294
93-
You also need to specify at least one of the following values in the command: MessageID, RecipientAddress, or SenderAddress.
95+
You also need to use at least one of the following parameters in the command: MessageID, RecipientAddress, or SenderAddress.
9496
9597
```yaml
9698
Type: String
@@ -118,7 +120,7 @@ The ReportType parameter specifies the type of historical search that you want t
118120
- TransportRule: Transport or Mail Flow Rules Report.
119121
- UnifiedDLP: Unified Data Loss Prevention Report.
120122
121-
You also need to specify at least one of the following values in the command: MessageID, RecipientAddress, or SenderAddress.
123+
You also need to use at least one of the following parameters in the command: MessageID, RecipientAddress, or SenderAddress.
122124
123125
```yaml
124126
Type: HistoricalSearchReportType
@@ -436,7 +438,7 @@ Accept wildcard characters: False
436438
```
437439
438440
### -TransportRule
439-
The TransportRule parameter filters the results by the name of the transport rule that acted on the message. You can specify multiple transport rules separated by commas.
441+
The TransportRule parameter filters the results by the name of the Exchange mail flow rule (also known as a transport rule) that acted on the message. You can specify multiple transport rules separated by commas.
440442
441443
```yaml
442444
Type: MultiValuedProperty

0 commit comments

Comments
 (0)