On http://www.Woodstone.nu/salive/addons.asp (http://www.Woodstone.nu/salive/addons.asp) there is a COM example written in VB6
Dirk Bulinckx. From: Servers Alive Discussion List [mailto:[EMAIL PROTECTED] On Behalf Of HOUTSMA Arnold Sent: Tuesday, September 16, 2008 8:26 AM To: Servers Alive Discussion List Subject: RE: [SA-list] Capture external output Yes I want to capture the string output. I run this command: DCdiag.exe /S:mydc /TEST:fsmocheck /F:C:\LOG\FSMO.log and want to know if the log contains the string “passed test FsmoCheck” or “passed failed FsmoCheck” Are there any SA customers who are doing this test already and/or is there another way? Are there any COM examples? Regards, Arnold From: Servers Alive Discussion List [mailto:[EMAIL PROTECTED] On Behalf Of Dirk Sent: donderdag 11 september 2008 09:21 To: Servers Alive Discussion List Subject: RE: [SA-list] Capture external output If the output is send as errorlevel (that it would only be a number) then SA can get that back via the EXTERNAL ERRORLEVEL check. If "string" output needs to be returned to Servers Alive then you will have to create a COM check for this. Dirk Bulinckx. From: Servers Alive Discussion List [mailto:[EMAIL PROTECTED] On Behalf Of HOUTSMA Arnold Sent: Thursday, September 11, 2008 8:46 AM To: Servers Alive Discussion List Subject: [SA-list] Capture external output Hi, Is there a way to capture output from external commands? I mean, I can for example execute “DCdiag.exe /S:mydc /TEST:kccevent” that displays the result on screen or in a log but can I sent the output through SA. Regards, Arnold To unsubscribe send a message with UNSUBSCRIBE in the subject line to salive@woodstone.nu If you use auto-responders (like out-of-the-office messages), make sure that they are not sent to the list nor to individual members. Doing so will cause you to be automatically removed from the list. To unsubscribe send a message with UNSUBSCRIBE in the subject line to salive@woodstone.nu If you use auto-responders (like out-of-the-office messages), make sure that they are not sent to the list nor to individual members. Doing so will cause you to be automatically removed from the list. To unsubscribe send a message with UNSUBSCRIBE in the subject line to salive@woodstone.nu If you use auto-responders (like out-of-the-office messages), make sure that they are not sent to the list nor to individual members. Doing so will cause you to be automatically removed from the list. To unsubscribe send a message with UNSUBSCRIBE in the subject line to salive@woodstone.nu If you use auto-responders (like out-of-the-office messages), make sure that they are not sent to the list nor to individual members. Doing so will cause you to be automatically removed from the list.