Solved

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

Posted on 2007-04-09
5
526 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

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!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

How to resolve IMCEAEX NDRs in Exchange or Exchange Online related to invalid X500 addresses.
The Windows functions GetTickCount and timeGetTime retrieve the number of milliseconds since the system was started. However, the value is stored in a DWORD, which means that it wraps around to zero every 49.7 days. This article shows how to solve t…
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

687 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