Solved

How can I script an isinteg of an Exchange 2003 database?

Posted on 2007-04-09
5
518 Views
Last Modified: 2008-01-09
How can I script an ISINTEG of an Exchange 2003 database?  I'm open to using any language (powershell, C#, CMD, etc.)  The problem I'm having is that the program does not take input from STDIN.

On a related note, does anyone know how to issue a keystroke to an app running within a CMD window?
0
Comment
Question by:csfweb
  • 3
  • 2
5 Comments
 
LVL 6

Accepted Solution

by:
vangipe earned 500 total points
ID: 18881173
ISINTEG is a troubleshooting tool and was never ment for frequent use. The consensus among Exchange admins is that it doesn't require regular offline maintenance.

If it can be automated (and I doubt it can), it's not documented or well-known. The closest I got was this script (http://exchange.mvps.org/E2K3/mount%20a%20store%20via%20cmd.htm) and this doesn't include running IsInteg itself.

Sending a keystroke to a CMD box can be done this way:
http://www.softtreetech.com/24x7/archive/27.htm.

Hope this helps.
Peter

0
 

Author Comment

by:csfweb
ID: 18894691
Anytime the ESE crashes (hard reset, abrubt service termination, bad node failover) the database will have some inconsistencies, I have an outage window of 3am to 5am and have 18 databases on 20 servers to maintain. (almost 400 databases altogether)  It doesn't make sense to run each one of these manually.

Does anyone have a way of sending this command via .NET automation, or via some Win32 interop?
0
 
LVL 6

Expert Comment

by:vangipe
ID: 18896217
Maybe you could automate it as far as possible using any programming/scripting language you wish, and then send the keystroke using the info in the article I provided above?

Peter
0
 

Author Comment

by:csfweb
ID: 18897616
Using the << redirect gets me close, if I want to plan and sit at each server and figure out what file gets places where.  What would be best for me is a way to take the ISinteg output (a listing of databases with numbers) pass it to a regular expression (which I can write) and then determine which database I'd like to work on.

I suppose a better question for me to ask is how do I use C# to interact with a CMD app that doesn't use STDIN and STDOUT, but instead uses some other way to write to the screen. It could be using a DOS - style INT function, or some win32 I'm not aware of.
0
 

Author Comment

by:csfweb
ID: 18897625
I'll go ahead and accept your solution ask that question under a new topic.
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Suggested Solutions

Easy CSR creation in Exchange 2007,2010 and 2013
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 fourth video of the Xpdf series, we discuss and demonstrate the PDFinfo utility, which retrieves the contents of a PDF's Info Dictionary, as well as some other information, including the page count. We show how to isolate the page count in a…
This video discusses moving either the default database or any database to a new volume.

705 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

19 Experts available now in Live!

Get 1:1 Help Now