{"id":4218,"date":"2024-07-25T06:26:10","date_gmt":"2024-07-25T06:26:10","guid":{"rendered":"https:\/\/geekmungus.co.uk\/?p=4218"},"modified":"2024-07-25T06:26:11","modified_gmt":"2024-07-25T06:26:11","slug":"query-message-tracking-logs-on-microsoft-exchange-using-powershell","status":"publish","type":"post","link":"https:\/\/geekmungus.co.uk\/?p=4218","title":{"rendered":"Query Message Tracking Logs on Microsoft Exchange using Powershell"},"content":{"rendered":"\n<p>You want to search your Microsoft Exchange message tracking logs to track an email, you can do this using a Powershell command (run from the Microsoft Exchange Powershell console), the below command will query all your Microsoft Exchange servers to find the tracking logs and then obtain all emails sent by the user &#8220;sender@domain.com&#8221; between the 23rd May 2024 08:00 and 23rd May 2024 17:00.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>$Servers = Get-ExchangeServer;  $Servers | Get-MessageTrackingLog -ResultSize Unlimited -Start \"5\/23\/2024 8:00AM\" -End \"5\/23\/2024 5:00PM\" -Sender \"sender@domain.com\"<\/code><\/pre>\n\n\n\n<p>There are also other filters you can add to further refine your search such as &#8220;recipient&#8221;.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>You want to search your Microsoft Exchange message tracking logs to track an email, you can do this using a Powershell command (run from the Microsoft Exchange Powershell console), the below command will query all your Microsoft Exchange servers to find the tracking logs and then obtain all emails sent by the user &#8220;sender@domain.com&#8221; between &#8230; <a title=\"Query Message Tracking Logs on Microsoft Exchange using Powershell\" class=\"read-more\" href=\"https:\/\/geekmungus.co.uk\/?p=4218\" aria-label=\"Read more about Query Message Tracking Logs on Microsoft Exchange using Powershell\">Read more<\/a><\/p>\n","protected":false},"author":4,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[32],"tags":[],"class_list":["post-4218","post","type-post","status-publish","format-standard","hentry","category-microsoft-exchange"],"_links":{"self":[{"href":"https:\/\/geekmungus.co.uk\/index.php?rest_route=\/wp\/v2\/posts\/4218","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/geekmungus.co.uk\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/geekmungus.co.uk\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/geekmungus.co.uk\/index.php?rest_route=\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/geekmungus.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=4218"}],"version-history":[{"count":1,"href":"https:\/\/geekmungus.co.uk\/index.php?rest_route=\/wp\/v2\/posts\/4218\/revisions"}],"predecessor-version":[{"id":4219,"href":"https:\/\/geekmungus.co.uk\/index.php?rest_route=\/wp\/v2\/posts\/4218\/revisions\/4219"}],"wp:attachment":[{"href":"https:\/\/geekmungus.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=4218"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/geekmungus.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=4218"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/geekmungus.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=4218"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}