?
Solved

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

Posted on 2014-10-21
6
Medium Priority
?
332 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 2000 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
Prepare for your VMware VCP6-DCV exam.

Josh Coen and Jason Langer have prepared the latest edition of VCP study guide. Both authors have been working in the IT field for more than a decade, and both hold VMware certifications. This 163-page guide covers all 10 of the exam blueprint sections.

 
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

NEW Veeam Agent for Microsoft Windows

Backup and recover physical and cloud-based servers and workstations, as well as endpoint devices that belong to remote users. Avoid downtime and data loss quickly and easily for Windows-based physical or public cloud-based workloads!

Question has a verified solution.

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

There are times when we need to generate a report on the inbox rules, where users have set up forwarding externally in their mailbox. In this article, I will be sharing a script I wrote to generate the report in CSV format.
In the absence of a fully-fledged GPO Management product like AGPM, the script in this article will provide you with a simple way to watch the domain (or a select OU) for GPOs changes and automatically take backups when policies are added, removed o…
The video tutorial explains the basics of the Exchange server Database Availability groups. The components of this video include: 1. Automatic Failover 2. Failover Clustering 3. Active Manager
This video discusses moving either the default database or any database to a new volume.
Suggested Courses
Course of the Month11 days, 18 hours left to enroll

752 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