[2 days left] What’s wrong with your cloud strategy? Learn why multicloud solutions matter with Nimble Storage.Register Now

x
?
Solved

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

Posted on 2007-04-09
5
Medium Priority
?
530 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 1500 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

Free Backup Tool for VMware and Hyper-V

Restore full virtual machine or individual guest files from 19 common file systems directly from the backup file. Schedule VM backups with PowerShell scripts. Set desired time, lean back and let the script to notify you via email upon completion.  

Question has a verified solution.

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

A couple of months ago we ran into an issue that necessitated re-creating our Edge Subscriptions. However, when we attempted to execute the command: New-EdgeSubscription -filename C:\NewEdgeSub_01.xml we received an error indicating that the LDAP se…
One-stop solution for Exchange Administrators to address all MS Exchange Server issues, which is known by the name of Stellar Exchange Toolkit.
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…
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…
Suggested Courses

649 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