{"id":70,"date":"2016-10-02T17:59:14","date_gmt":"2016-10-02T15:59:14","guid":{"rendered":"http:\/\/gillan.be\/wordpress\/?p=70"},"modified":"2016-10-02T17:59:14","modified_gmt":"2016-10-02T15:59:14","slug":"message-tracking-with-powershell-in-exchange","status":"publish","type":"post","link":"http:\/\/gillan.be\/wordpress\/message-tracking-with-powershell-in-exchange\/","title":{"rendered":"Message Tracking with Powershell in Exchange"},"content":{"rendered":"<p>This is an example of a Message Tracking command that I use most:<\/p>\n<pre>Get-Messagetrackinglog -ResultSize Unlimited -Recipients:user@contoso.com -EventID \"RECEIVE\" -Start \"09\/25\/2016 4:30:00 PM\" -End \"09\/30\/2016 5:17:00 PM\" | select-object eventid,timestamp,messageid,sender,recipients,messagesubject | Out-GridView<\/pre>\n<p>These are the parts that will improve search results and make it easier for you to understand the results:<\/p>\n<p><strong>-ResultSize Unlimited<\/strong> specifies the results should include everything<br \/>\nThe <strong>select-object<\/strong> part shows the objects that need to be shown in the results, the most common objects are listed here.<br \/>\n<strong>Out-GridView<\/strong> sends the output to an interactive table in a seperate window.<\/p>\n<p>OPTIONAL PARAMETERS:<br \/>\n<strong>-Recepients<\/strong> specifies a specific recepient (or multiple, seperated by a comma)<br \/>\n<strong>-EventID<\/strong> is where you can choose what event you want to view (RECEIVE, SEND, FAIL&#8230;)<br \/>\n<strong>-Start<\/strong> and <strong>-End<\/strong> makes the result show a specific timeframe and needs one of these format: &#8220;Sep 25 2016&#8221; or &#8220;09\/25\/2016 4:30:00 PM&#8221;<\/p>\n<p>&nbsp;<\/p>\n<p>Source : https:\/\/technet.microsoft.com\/en-us\/library\/aa997573%28v=exchg.160%29.aspx?f=255&amp;MSPPError=-2147217396<\/p>\n","protected":false},"excerpt":{"rendered":"<p>This is an example of a Message Tracking command that I use most: Get-Messagetrackinglog -ResultSize Unlimited -Recipients:user@contoso.com -EventID &#8220;RECEIVE&#8221; -Start &#8220;09\/25\/2016 4:30:00 PM&#8221; -End &#8220;09\/30\/2016 5:17:00 PM&#8221; | select-object eventid,timestamp,messageid,sender,recipients,messagesubject | Out-GridView These are the parts that will improve search results and make it easier for you to understand the results: -ResultSize Unlimited specifies the &hellip; <\/p>\n<p class=\"link-more\"><a href=\"http:\/\/gillan.be\/wordpress\/message-tracking-with-powershell-in-exchange\/\" class=\"more-link\">Read more<span class=\"screen-reader-text\"> &#8220;Message Tracking with Powershell in Exchange&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_exactmetrics_skip_tracking":false,"_exactmetrics_sitenote_active":false,"_exactmetrics_sitenote_note":"","_exactmetrics_sitenote_category":0,"footnotes":""},"categories":[18,23,7],"tags":[20,24,25],"class_list":["post-70","post","type-post","status-publish","format-standard","hentry","category-exchange","category-powershell","category-windows-server","tag-exchange","tag-message-tracking","tag-powershell"],"featured_media_urls":[],"_links":{"self":[{"href":"http:\/\/gillan.be\/wordpress\/wp-json\/wp\/v2\/posts\/70","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/gillan.be\/wordpress\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/gillan.be\/wordpress\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/gillan.be\/wordpress\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/gillan.be\/wordpress\/wp-json\/wp\/v2\/comments?post=70"}],"version-history":[{"count":3,"href":"http:\/\/gillan.be\/wordpress\/wp-json\/wp\/v2\/posts\/70\/revisions"}],"predecessor-version":[{"id":73,"href":"http:\/\/gillan.be\/wordpress\/wp-json\/wp\/v2\/posts\/70\/revisions\/73"}],"wp:attachment":[{"href":"http:\/\/gillan.be\/wordpress\/wp-json\/wp\/v2\/media?parent=70"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/gillan.be\/wordpress\/wp-json\/wp\/v2\/categories?post=70"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/gillan.be\/wordpress\/wp-json\/wp\/v2\/tags?post=70"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}