Exchange 2007 Transaction Log Scripting

Author Message
turranx

  • Total Posts : 59
  • Scores: 0
  • Reward points : 0
  • Joined: 2/7/2006
  • Location: Cincinnati, OH
  • Status: offline
Exchange 2007 Transaction Log Scripting Monday, June 09, 2008 12:34 AM (permalink)
0
I'm looking to automate the purging of Exchange 2007's transaction logs.  I could run command #1 and receive as output #2 then string parse out the value #3.

  1. eseutil /mk "C:\Program Files\Microsoft\Exchange Server\Mailbox\First Storage Group\E00.chk"
  2. Extensible Storage Engine Utilities for Microsoft(R) Exchange Server
    Version 08.00
    Copyright (C) Microsoft Corporation. All Rights Reserved.

    Initiating FILE DUMP mode...
          Checkpoint file: C:\Program Files\Microsoft\Exchange Server\Mailbox\First Storage Group\E00.chk

          LastFullBackupCheckpoint: (0x0,0,0)
          Checkpoint: (0x16CDE,480,0)
          FullBackup: (0x0,0,0)
          FullBackup time: 00/00/1900 00:00:00
          IncBackup: (0x0,0,0)
          IncBackup time: 00/00/1900 00:00:00
          Signature: Create time:06/03/2008 17:26:39 Rand:7564394 Computer:
          Env (CircLog,Session,Opentbl,VerPage,Cursors,LogBufs,LogFile,Buffers)
              (    off,    502,  25100,  14460,  25100,   2048,   2048,2000000000)

    Operation completed successfully in 0.101 seconds.
  3. 016CDE
Or is there a slicker way to retrieve value #3?  Someway for PowerShell to tap directly in to this value?  This value represents the lowest number of the transaction log files that are still in use by the Exchange Server. 
Microsoft Windows 2000 Scripting Guide - The best book for newbie scripters
http://www.myspace.com/Evil__Overlord
 
#1
    jbgantes

    • Total Posts : 3
    • Scores: 0
    • Reward points : 0
    • Joined: 11/5/2008
    • Status: offline
    RE: Exchange 2007 Transaction Log Scripting Wednesday, November 05, 2008 6:27 PM (permalink)
    0
    Did you ever figure out a solution to this?  I have looked high and low and I'm tired of deleting our transaction logs manually!  Thanks!
     
    #2

      Online Bookmarks Sharing: Share/Bookmark

      Jump to:

      Current active users

      There are 0 members and 1 guests.

      Icon Legend and Permission

      • New Messages
      • No New Messages
      • Hot Topic w/ New Messages
      • Hot Topic w/o New Messages
      • Locked w/ New Messages
      • Locked w/o New Messages
      • Read Message
      • Post New Thread
      • Reply to message
      • Post New Poll
      • Submit Vote
      • Post reward post
      • Delete my own posts
      • Delete my own threads
      • Rate post

      2000-2012 ASPPlayground.NET Forum Version 3.9