{"id":199,"date":"2015-06-11T03:41:50","date_gmt":"2015-06-10T16:41:50","guid":{"rendered":"https:\/\/4it.com.au\/kb\/?post_type=article&#038;p=199"},"modified":"2022-11-14T20:05:43","modified_gmt":"2022-11-14T09:05:43","slug":"microsoft-exchange-message-tracking-wildcard-domain","status":"publish","type":"article","link":"https:\/\/4it.com.au\/kb\/article\/microsoft-exchange-message-tracking-wildcard-domain\/","title":{"rendered":"Microsoft Exchange Message Tracking Wildcard Domain"},"content":{"rendered":"<p>If you need to search using the Microsoft Exchange Troubleshooting Assistant for anything sent to a particular domain rather than just an email address you will need to do this using the Exchange Management Shell as the Message Tracking Parameters don&#8217;t allow you to enter a wildcard domain in the sender address. \u00a0This can be particularly useful when a user has an issue receiving emails from multiple email addresses at the same domain.<\/p>\n<p><strong>To do this:<\/strong><\/p>\n<h2>Step 1<\/h2>\n<p>Open up the Exchange Management Shell as an Administrator (right click)<\/p>\n<h2>Step 2<\/h2>\n<p>Enter either of the following commands replacing the @YOURDOMAIN with the domain you are searching for.<\/p>\n<p><strong>To show the results on the screen only<\/strong><\/p>\n<p><code>Get-MessageTrackingLog -ResultSize Unlimited -Start \"30\/05\/2015\" -End \"11\/06\/2015\" | where{$_.sender -like \"*@YOURDOMAIN\"} | select-object Timestamp,SourceContext,Source,EventId,MessageSubject,Sender,{$_.Recipients}<\/code><\/p>\n<p><strong>To export the results to a log file<\/strong><\/p>\n<p><code>Get-MessageTrackingLog -ResultSize Unlimited -Start \"30\/05\/2015\" -End \"11\/06\/2015\" | where{$_.sender -like \"*@lifestyleaustralia.com.au\"} | select-object Timestamp,SourceContext,Source,EventId,MessageSubject,Sender,{$_.Recipients} | export-csv C:\\ExchangeLogResults.txt<\/code><\/p>\n<div style='text-align:left' class='yasr-auto-insert-visitor'><\/div>","protected":false},"excerpt":{"rendered":"<p>If you need to search using the Microsoft Exchange Troubleshooting Assistant for anything sent to a particular domain rather than just an email address you will need to do this using the Exchange Management Shell as the Message Tracking Parameters don&#8217;t allow you to enter a wildcard domain in the sender address. \u00a0This can be [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"menu_order":0,"comment_status":"open","ping_status":"closed","template":"","format":"standard","article-category":[57],"article-tag":[141,99,142,139,140],"class_list":["post-199","article","type-article","status-publish","format-standard","hentry","article-category-windows-server","article-tag-exchange-2007","article-tag-exchange-2010","article-tag-exchange-2013","article-tag-exchange-wildcard","article-tag-search-wildcard-exchange"],"yasr_visitor_votes":{"stars_attributes":{"read_only":false,"span_bottom":false},"number_of_votes":3,"sum_votes":13},"_links":{"self":[{"href":"https:\/\/4it.com.au\/kb\/wp-json\/wp\/v2\/article\/199","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/4it.com.au\/kb\/wp-json\/wp\/v2\/article"}],"about":[{"href":"https:\/\/4it.com.au\/kb\/wp-json\/wp\/v2\/types\/article"}],"author":[{"embeddable":true,"href":"https:\/\/4it.com.au\/kb\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/4it.com.au\/kb\/wp-json\/wp\/v2\/comments?post=199"}],"version-history":[{"count":0,"href":"https:\/\/4it.com.au\/kb\/wp-json\/wp\/v2\/article\/199\/revisions"}],"wp:attachment":[{"href":"https:\/\/4it.com.au\/kb\/wp-json\/wp\/v2\/media?parent=199"}],"wp:term":[{"taxonomy":"article-category","embeddable":true,"href":"https:\/\/4it.com.au\/kb\/wp-json\/wp\/v2\/article-category?post=199"},{"taxonomy":"article-tag","embeddable":true,"href":"https:\/\/4it.com.au\/kb\/wp-json\/wp\/v2\/article-tag?post=199"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}