Solved

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

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

Join & Write a Comment

Utilizing an array to gracefully append to a list of EmailAddresses
Local Continuous Replication is a cost effective and quick way of backing up Exchange server data. The following article describes the steps required to configure Local Continuous Replication. Also, the article tells you how to restore from a backup…
In this video we show how to create a Resource Mailbox in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: Navigate to the Recipients >> Resources tab.: "Recipients" is our default selection …
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

747 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

9 Experts available now in Live!

Get 1:1 Help Now