Solved

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

Posted on 2007-04-09
5
523 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 our DevOps Teams Maximize Uptime

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us. Read the use case whitepaper.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Accepted Domain and Policies Exhange 2010 to 2016 3 36
Powershell script include embedded images 10 42
Select SamAccountName - powershell script 2 17
Return array 3 19
Read this checklist to learn more about the 15 things you should never include in an email signature.
How to resolve IMCEAEX NDRs in Exchange or Exchange Online related to invalid X500 addresses.
This video demonstrates how to sync Microsoft Exchange Public Folders with smartphones using CodeTwo Exchange Sync and Exchange ActiveSync. To learn more about CodeTwo Exchange Sync and download the free trial, go to: http://www.codetwo.com/excha…
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

680 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