Solved

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

Posted on 2014-10-21
6
325 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 70

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 8

Author Comment

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

Expert Comment

by:Qlemo
ID: 40396691
It should be no different, so just try yourself.
0
PeopleSoft Has Never Been Easier

PeopleSoft Adoption Made Smooth & Simple!

On-The-Job Training Is made Intuitive & Easy With WalkMe's On-Screen Guidance Tool.  Claim Your Free WalkMe Account Now

 
LVL 8

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 70

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 8

Author Closing Comment

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

Featured Post

Best Practices: Disaster Recovery Testing

Besides backup, any IT division should have a disaster recovery plan. You will find a few tips below relating to the development of such a plan and to what issues one should pay special attention in the course of backup planning.

Question has a verified solution.

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

Had a business requirement to store the mobile number in an environmental variable. This is just a quick article on how this was done.
Here's a look at newsworthy articles and community happenings during the last month.
This video discusses moving either the default database or any database to a new volume.
Attackers love to prey on accounts that have privileges. Reducing privileged accounts and protecting privileged accounts therefore is paramount. Users, groups, and service accounts need to be protected to help protect the entire Active Directory …

724 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