Solved

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

Posted on 2014-10-21
6
324 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 3
6 Comments
 
LVL 69

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 69

Expert Comment

by:Qlemo
ID: 40396691
It should be no different, so just try yourself.
0
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.

 
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 69

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

Free Webinar: AWS Backup & DR

Join our upcoming webinar with experts from AWS, CloudBerry Lab, and the Town of Edgartown IT to discuss best practices for simplifying online backup management and cutting costs.

Question has a verified solution.

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

Windows 10 came with  a lot of built in applications, Some organisations leave them there, some will control them using GPO's. This Article is useful for those who do not want to have any applications in their image (example:me).
Previously, on our Nano Server Deployment series, we've created a new nano server image and deployed it on a physical server in part 2. Now we will go through configuration.
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an antispam), the admini…

726 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