Solved

How to show all out of office email using Powershell script in Exchange Server ?

Posted on 2014-10-21
6
312 Views
Last Modified: 2014-10-22
Hi,

In Exchange Server 2010, how can I make sure that I see Out of office email was sent by my mailbox or any other user using powershell script ?

Because when using this script below:

Get-TransportServer | Get-MessageTrackingLog -Sender "user1@domain.com" -Start "21/10/2014" -End "22/10/2014" | ft -wrap

Open in new window


I cannot see or display the result apart from normal email only.

is there any logging level that I need to change or Transport Log settings to enable verbose level debug ?
0
Comment
  • 3
  • 3
6 Comments
 
LVL 68

Accepted Solution

by:
Qlemo earned 500 total points
ID: 40396651
In 2007, searching for subject "Out of Office AutoReply:" succeeded for me. Restricting to EventID 'Send' helps in getting only one line per message:
Get-TransportServer | Get-MessageTrackingLog -Sender 'user1@domain.com' -Subject 'Out of Office AutoReply:' -EventID 'Send' -Start '21/10/2014' -End '22/10/2014' | ft -wrap

Open in new window

0
 
LVL 7

Author Comment

by:Senior IT System Engineer
ID: 40396672
Thanks mate, so in this case I'm using Exchange Server 2010
0
 
LVL 68

Expert Comment

by:Qlemo
ID: 40396691
It should be no different, so just try yourself.
0
Are your AD admin tools letting you down?

Managing Active Directory can get complicated.  Often, the native tools for managing AD are just not up to the task.  The largest Active Directory installations in the world have relied on one tool to manage their day-to-day administration tasks: Hyena. Start your trial today.

 
LVL 7

Author Comment

by:Senior IT System Engineer
ID: 40396709
Thanks man, so in this case do I need to enable some logging features or not really to get that level of information ?
0
 
LVL 68

Expert Comment

by:Qlemo
ID: 40396725
That should be part of the default message tracking log level. If you get any result by Get-MessageTrackingLog, the OOO reply is also tracked.
0
 
LVL 7

Author Closing Comment

by:Senior IT System Engineer
ID: 40398201
Thanks !
0

Featured Post

Is Your AD Toolbox Looking More Like a Toybox?

Managing Active Directory can get complicated.  Often, the native tools for managing AD are just not up to the task.  The largest Active Directory installations in the world have relied on one tool to manage their day-to-day administration tasks: Hyena. Start your trial today.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

A procedure for exporting installed hotfix details of remote computers using powershell
Read this checklist to learn more about the 15 things you should never include in an email signature.
In this video we show how to create an Accepted Domain in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: First we need to log into the Exchange Admin Center. Navigate to the Mail Flow >> Ac…
In this video we show how to create a mailbox database in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: First we need to log into the Exchange Admin Center. Navigate to the Servers >> Data…

939 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

5 Experts available now in Live!

Get 1:1 Help Now