Exchange item's receiving time in maibox

Hi,

How can I check each item receiving time in a specific mailbox?

My goal is to know if I have a mail in some mailbox over X minutes.

Thanks,

Yakir.

February 11th, 2015 8:58am

Hi,

Here is a command for reference. We should search all messages you sent. If there are too many messages, we can export the results to CSV file to check.

Get-MessageTrackingLog -Sender "Your SMTP Address" | where-object {$_.EventID -eq "Receive"} | Select Sender,Recipients,Timestamp,EventID,Messagesubject | Export-CSV c:\report.csv

Best Regards.

Free Windows Admin Tool Kit Click here and download it now
February 11th, 2015 10:13pm

As suggested above, Get-MessageTrackingLog is your friend to collect these information at deeply.

However, if you want to get this reports at more granular level, you may also check our Lepide exchange reporter software (http://www.lepide.com/exchange-reporter/) that provides precise reports on the mailbox traffic of the entire network with the details such as, all emails sent and received within a particular duration, emails sent outside and inside organization, interaction between users in a particular duration or within minutes.

February 12th, 2015 5:29am

Thanks alot for the help. 

I powershell won't recognize the Get-MessageTrackingLog cmdlet even though it doe's recognize Get-MessageTrackingReport.

Why is that?

I read that both of them can work in Exchange 2013.

What am I missing?

P.S:

Sorry if it's a newbies questions, but I'm new to exchange.

Yakir.


Free Windows Admin Tool Kit Click here and download it now
February 12th, 2015 6:21am

Thanks alot for the help. 

I powershell won't recognize the Get-MessageTrackingLog cmdlet even though it doe's recognize Get-MessageTrackingReport.

Why is that?

I read that both of them can work in Exchange 2013.

What am I missing?

P.S:

Sorry if it's a newbies questions, but I'm new to exchange.

Yakir.


  • Edited by yakirLLC Thursday, February 12, 2015 11:31 AM
February 12th, 2015 2:16pm

Thanks alot for the help. 

I powershell won't recognize the Get-MessageTrackingLog cmdlet even though it doe's recognize Get-MessageTrackingReport.

Why is that?

I read that both of them can work in Exchange 2013.

What am I missing?

P.S:

Sorry if it's a newbies questions, but I'm new to exchange.

Yakir.


  • Edited by yakirLLC Thursday, February 12, 2015 11:31 AM
Free Windows Admin Tool Kit Click here and download it now
February 12th, 2015 2:16pm

Thanks alot for the help. 

I powershell won't recognize the Get-MessageTrackingLog cmdlet even though it doe's recognize Get-MessageTrackingReport.

Why is that?

I read that both of them can work in Exchange 2013.

What am I missing?

P.S:

Sorry if it's a newbies questions, but I'm new to exchange.

Yakir.


  • Edited by yakirLLC Thursday, February 12, 2015 11:31 AM
February 12th, 2015 2:16pm

Hi,

User account needs to be assigned permissions before you can run this cmdlet. Although all parameters for this cmdlet are listed in this topic, you may not have access to some parameters if they're not included in the permissions assigned to you. To see what permissions you need, see the "Message tracking" entry in the Mail Flow permissions topic. PLease check permission of your account first.

For more information about Get-messagetrackinglog cmdlet, refer to this document.

https://technet.microsoft.com/en-us/library/aa997573(v=exchg.150).aspx

If there are any question, please let me know.

Best Regards.

Free Windows Admin Tool Kit Click here and download it now
February 15th, 2015 8:39pm

Hi,

Thanks for the reply.

I've spoke with my Exchange team and they told me that this cmdlet will show me the receiving time but not nececerally for an item that is still in the mailbox. I need the ability to check the receiving time of each item in my mailbox.

I think the way to do it is using a command that checks which items are currently exist in the mailbox and then for each item to check it's receiving time with the Get-MessageTrackingLog (if possible).

Can you help me find the appropriate commands?

Thanks,

Yakir.

February 17th, 2015 11:19am

Someone...?
Free Windows Admin Tool Kit Click here and download it now
February 22nd, 2015 10:20am

Hi Yakir,

basically there is no cmdlet that shows a list of items from a mailbox folder.

If you want to get a list of messages that is available in one of your folders, search-mailbox is possibly the one you're looking for, but while you will receive the result (mails within X minutes?) in some other users mailbox folder, that still does not put the mail items to powershell variables.

The only way I know how to access a users  mailbox items is EWS (http://blogs.msdn.com/b/exchangedev/archive/2014/06/02/ews-managed-api-2-2-now-available.aspx) while that is quite easy it still required some programming https://msdn.microsoft.com/en-us/library/office/dn535506%28v=exchg.150%29.aspx

You can access EWS methods from powershell :)

Regards,
Martin

February 22nd, 2015 11:06am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics