Skip to content

Commit de7c2e7

Browse files
authored
Merge pull request #12124 from raomin/patch-1
Update Get-MessageTrackingLog, fix -Recipients
2 parents 3db3df1 + 7d68be8 commit de7c2e7

File tree

1 file changed

+10
-3
lines changed

1 file changed

+10
-3
lines changed

exchange/exchange-ps/exchange/Get-MessageTrackingLog.md

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -59,10 +59,17 @@ You need to be assigned permissions before you can run this cmdlet. Although thi
5959

6060
### Example 1
6161
```powershell
62-
Get-MessageTrackingLog -Server Mailbox01 -Start "03/13/2018 09:00:00" -End "03/15/2018 17:00:00" -Sender "john@contoso.com"
62+
Get-MessageTrackingLog -Server Mailbox01 -Start "03/13/2024 09:00:00" -End "03/15/2024 17:00:00" -Sender "john@contoso.com"
6363
```
6464

65-
This example searches the message tracking logs on the Mailbox server named Mailbox01 for information about all messages sent from March 13, 2018, 09:00 to March 15, 2018, 17:00 by the sender john@contoso.com.
65+
This example searches the message tracking logs on the Mailbox server named Mailbox01 for information about all messages sent from March 13, 2024, 09:00 to March 15, 2024, 17:00 by the sender john@contoso.com.
66+
67+
### Example 2
68+
```powershell
69+
Get-MessageTrackingLog -Server Mailbox01 -Start "03/13/2024 09:00:00" -Recipients @("john@contoso.com","alice@contoso.com")
70+
```
71+
72+
This example searches the message tracking logs on the Mailbox server named Mailbox01 for information about all messages sent from March 13, 2024, 09:00 to today for the recipients john@contoso.com and/or alice@contoso.com.
6673

6774
## PARAMETERS
6875

@@ -169,7 +176,7 @@ Accept wildcard characters: False
169176
```
170177
171178
### -Recipients
172-
The Recipients parameter filters the message tracking log entries by the SMTP email address of the message recipients. Multiple recipients in a single message are logged in a single message tracking log entry. Unexpanded distribution group recipients are logged by using the group's SMTP email address. You can specify multiple recipient email addresses separated by commas.
179+
The Recipients parameter filters the message tracking log entries by the SMTP email address of the message recipients. Multiple recipients in a single message are logged in a single message tracking log entry. Unexpanded distribution group recipients are logged by using the group's SMTP email address. You can specify multiple recipients using an array of email addresses.
173180
174181
```yaml
175182
Type: String[]

0 commit comments

Comments
 (0)