Photo Gallery Member List Search Calendars FAQ Ticket List Log Out


Exchange 2007 Transaction Log Scripting

 
Logged in as: Guest
arrSession:exec spGetSession 2,5,61189
 Active Users: There are 0 members and 0 guests.
 Users viewing this topic: none
 

 

 
  
  Printable Version
All Forums >> [Scripting] >> Windows PowerShell >> Exchange 2007 Transaction Log Scripting
  Do you like VisualBasicScript.com? Link to us and help spread the word about our forum. Thanks!
Page: [1]
Login
Message << Older Topic   Newer Topic >>
 Exchange 2007 Transaction Log Scripting - 6/8/2008 11:34:29 PM   
  turranx


Posts: 41
Score: 0
Joined: 2/7/2006
Status: offline
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
 
 
Post #: 1
 
 
 
  

If you found our site useful please link to us <a href="http://www.visualbasicscript.com">VisualBasicScript.com</a>.
All Forums >> [Scripting] >> Windows PowerShell >> Exchange 2007 Transaction Log Scripting Page: [1]
Jump to:





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
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts