• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 532
  • Last Modified:

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

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
csfweb
Asked:
csfweb
  • 3
  • 2
1 Solution
 
vangipeCommented:
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
 
csfwebAuthor Commented:
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
 
vangipeCommented:
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
 
csfwebAuthor Commented:
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
 
csfwebAuthor Commented:
I'll go ahead and accept your solution ask that question under a new topic.
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now