Solved

why my get-messagetrackinglog result is maximum spanned over 2 weeks only ?

Posted on 2011-02-28
6
614 Views
Last Modified: 2012-05-11
Hi Guys,

Is there any reason why the script get-messagetrackinglog can only returns the email traffic of maximum 2 weeks not the whole month or years ?
get-messagetrackinglog -Server ExHub01 -Sender "tania@anjinglucu.com" -ResultSize Unlimited | select-object Timestamp, sender, RecipientCount, totalbytes | ft -AutoSize -Wrap

Open in new window

0
Comment
Question by:jjoz
  • 3
  • 2
6 Comments
 
LVL 4

Assisted Solution

by:geieea
geieea earned 50 total points
ID: 35002373
You'd kill the server if you did that. :P
0
 
LVL 1

Author Comment

by:jjoz
ID: 35002427
LOL, ok here's my other finding, by using
Get-TransportServer |select *max* | fl

Open in new window


is it possible ifI set it to Set-TransportServer SV2008 -MessageTrackingLogMaxDirectorySize 1GB -MessageTrackingLogMaxAge 365.00:00:00

means that i can get the result of last year or is it too late already ?
ConnectivityLogMaxAge                  : 30.00:00:00
ConnectivityLogMaxDirectorySize        : 250MB
ConnectivityLogMaxFileSize             : 10MB
ExternalDsnMaxMessageAttachSize        : 10MB
InternalDsnMaxMessageAttachSize        : 10MB
MaxConcurrentMailboxDeliveries         : 7
MaxConcurrentMailboxSubmissions        : 20
MaxConnectionRatePerMinute             : 1200
MaxOutboundConnections                 : 1000
MaxPerDomainOutboundConnections        : 20
MessageTrackingLogMaxAge               : 20.00:00:00
MessageTrackingLogMaxDirectorySize     : 250MB
MessageTrackingLogMaxFileSize          : 10MB
PickupDirectoryMaxHeaderSize           : 64KB
PickupDirectoryMaxMessagesPerMinute    : 100
PickupDirectoryMaxRecipientsPerMessage : 100
QueueMaxIdleTime                       : 00:03:00
ReceiveProtocolLogMaxAge               : 30.00:00:00
ReceiveProtocolLogMaxDirectorySize     : 250MB
ReceiveProtocolLogMaxFileSize          : 10MB
RoutingTableLogMaxAge                  : 7.00:00:00
RoutingTableLogMaxDirectorySize        : 50MB
SendProtocolLogMaxAge                  : 30.00:00:00
SendProtocolLogMaxDirectorySize        : 250MB
SendProtocolLogMaxFileSize             : 10MB

Open in new window

0
 
LVL 49

Accepted Solution

by:
Akhater earned 450 total points
ID: 35005537
as you noticed the default configuration is 2 weeks and you can change this by your command however it will keep them for 1 year from now on what was overwritten is, i'm afraid, gone
0
Backup Your Microsoft Windows Server®

Backup all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

 
LVL 1

Author Comment

by:jjoz
ID: 35005818
ah ok, kinda make sense in that way.
0
 
LVL 4

Expert Comment

by:geieea
ID: 35058557
Even if you increased the size of the directory, it would take a long time for the cmdlet to review that much data.

As akhater said, it's too late but if you had been backing up the server, you will have all these logs from the last year.
0
 
LVL 1

Author Comment

by:jjoz
ID: 35062826
ah, ok, that does make sense mate, thanks for the reply.
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 safe way to clean winsxs folder from your windows server 2008 R2 editions
This article lists the top 5 free OST to PST Converter Tools. These tools save a lot of time for users when they want to convert OST to PST after their exchange server is no longer available or some other critical issue with exchange server or impor…
To efficiently enable the rotation of USB drives for backups, storage pools need to be created. This way no matter which USB drive is installed, the backups will successfully write without any administrative intervention. Multiple USB devices need t…
This tutorial will show how to configure a new Backup Exec 2012 server and move an existing database to that server with the use of the BEUtility. Install Backup Exec 2012 on the new server and apply all of the latest hotfixes and service packs. The…

911 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

25 Experts available now in Live!

Get 1:1 Help Now