locked
Exchange Shell - Transaction Log File Reporting RRS feed

  • Question

  • I'm an administrator for a very, very large mixed exchange organization in the process of transitioning from Exchange 03 to 2010. I'm trying to create a powershell script scheduled to run daily that will report database statistics, last successful backup, as well as the oldest log file in the transaction log directory.

    I implemented the script detailed here from Scripting Guy and it works perfectly: http://gallery.technet.microsoft.com/scriptcenter/d9af4a66-a908-4a3f-af10-380aa63c3a74

    I just need to modify the script to include the log files of each mailbox server in the report. Any help you could provide would be greatly appreciated. Also, I'm not a scripting guy (Yet..) so forgive me if I have to ask for explanations.

    -Matt


    • Edited by Matt Fields Wednesday, January 18, 2012 8:51 PM
    Wednesday, January 18, 2012 2:06 PM

All replies

  • I just need to modify the script to include the log files of each mailbox server in the report. Any help you could provide would be greatly appreciated. Also, I'm not a scripting guy (Yet..) so forgive me if I have to ask for explanations.

    -Matt

    You need to clarify what you're after a little better.  "the log files of each mailbox server" is kind of ambiguous (which logs - event logs, transaction logs, message tracking logs, protocol logs, agent logs ?), and what is it about the logs you want to report on? 

    [string](0..33|%{[char][int](46+("686552495351636652556262185355647068516270555358646562655775 0645570").substring(($_*2),2))})-replace " "
    Wednesday, January 18, 2012 2:14 PM
  • I apologize. I'm looking for the script to generate an e-mail that outlines the oldest transaction log, adds it to the table generated by that script, and marks the cell as green if the oldest log is more recent than the last successful backup or red if the logs were not purged by the backup.
    Wednesday, January 18, 2012 2:20 PM
  • This is still an outstanding issue for me. Any help that could be provided would be greatly appreciated. If I end up finding the answer myself I'll post it here for everyone elses' benefit.

    -Matt


    Edit* reporting this is available via SCOM.
    • Edited by Matt Fields Tuesday, January 24, 2012 8:20 PM
    Friday, January 20, 2012 9:18 PM