From ca5b1b254233669c0a7fbefa0be7f4825edd1ee4 Mon Sep 17 00:00:00 2001 From: Raomin <4460208+raomin@users.noreply.github.com> Date: Wed, 25 Sep 2024 17:46:44 +0200 Subject: [PATCH 1/3] Update Get-MessageTrackingLog, fix -Recipients wrong description for multiple values --- exchange/exchange-ps/exchange/Get-MessageTrackingLog.md | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/exchange/exchange-ps/exchange/Get-MessageTrackingLog.md b/exchange/exchange-ps/exchange/Get-MessageTrackingLog.md index b6f654e750..8104ab171a 100644 --- a/exchange/exchange-ps/exchange/Get-MessageTrackingLog.md +++ b/exchange/exchange-ps/exchange/Get-MessageTrackingLog.md @@ -64,6 +64,13 @@ Get-MessageTrackingLog -Server Mailbox01 -Start "03/13/2018 09:00:00" -End "03/1 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. +### Example 2 +```powershell +Get-MessageTrackingLog -Server Mailbox01 -Start "03/13/2018 09:00:00" -Recipients @("john@contoso.com","alice@contoso.com") +``` + +This example searches the message tracking logs on the Mailbox server named Mailbox01 for information about all messages sent since March 13, 2018, 09:00 until now to any of the recipients john@contoso.com and/or alice@contoso.com. + ## PARAMETERS ### -DomainController @@ -169,7 +176,7 @@ Accept wildcard characters: False ``` ### -Recipients -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. +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 using an array of email addresses. ```yaml Type: String[] From f4cbcf5a701b58a45f876284930e08d76952087a Mon Sep 17 00:00:00 2001 From: Chris Davis Date: Wed, 25 Sep 2024 09:02:22 -0700 Subject: [PATCH 2/3] Update Get-MessageTrackingLog.md --- exchange/exchange-ps/exchange/Get-MessageTrackingLog.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/exchange/exchange-ps/exchange/Get-MessageTrackingLog.md b/exchange/exchange-ps/exchange/Get-MessageTrackingLog.md index 8104ab171a..5953fd4e8b 100644 --- a/exchange/exchange-ps/exchange/Get-MessageTrackingLog.md +++ b/exchange/exchange-ps/exchange/Get-MessageTrackingLog.md @@ -59,17 +59,17 @@ You need to be assigned permissions before you can run this cmdlet. Although thi ### Example 1 ```powershell -Get-MessageTrackingLog -Server Mailbox01 -Start "03/13/2018 09:00:00" -End "03/15/2018 17:00:00" -Sender "john@contoso.com" +Get-MessageTrackingLog -Server Mailbox01 -Start "03/13/2024 09:00:00" -End "03/15/2024 17:00:00" -Sender "john@contoso.com" ``` -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. +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. ### Example 2 ```powershell -Get-MessageTrackingLog -Server Mailbox01 -Start "03/13/2018 09:00:00" -Recipients @("john@contoso.com","alice@contoso.com") +Get-MessageTrackingLog -Server Mailbox01 -Start "03/13/2024 09:00:00" -Recipients @("john@contoso.com","alice@contoso.com") ``` -This example searches the message tracking logs on the Mailbox server named Mailbox01 for information about all messages sent since March 13, 2018, 09:00 until now to any of the recipients john@contoso.com and/or alice@contoso.com. +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. ## PARAMETERS From 7d68be831299e6788bb8893b92fee5ea79cddc15 Mon Sep 17 00:00:00 2001 From: Chris Davis Date: Wed, 25 Sep 2024 09:03:47 -0700 Subject: [PATCH 3/3] Update Get-MessageTrackingLog.md --- exchange/exchange-ps/exchange/Get-MessageTrackingLog.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/exchange/exchange-ps/exchange/Get-MessageTrackingLog.md b/exchange/exchange-ps/exchange/Get-MessageTrackingLog.md index 5953fd4e8b..877d2fd0a3 100644 --- a/exchange/exchange-ps/exchange/Get-MessageTrackingLog.md +++ b/exchange/exchange-ps/exchange/Get-MessageTrackingLog.md @@ -176,7 +176,7 @@ Accept wildcard characters: False ``` ### -Recipients -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 using an array of email addresses. +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. ```yaml Type: String[]