The command you described would not output an error level. You can create a
batch file or a vbs using that command and an if loop to set the error level.
Jason Passow
Network Administrator
Mississippi Welders Supply
http://www.mwsco.com (http://www.mwsco.com)
jas...@mwsco.com (mailto:jas...@mwsco.com)
ph: (507) 494-5178
fax: (507) 454-8104
From: Demeulemeester, Pieter [mailto:pieter.demeulemees...@fracarita.org]
To: Servers Alive Discussion List [mailto:salive@woodstone.nu]
Sent: Wed, 15 Jan 2014 10:00:19 -0600
Subject: [SA-list] External check : piping character
Hi Dirk,
Can I use a piping character in an External (errorlevel) check ?
Ex. : Nslookup.exe %COMPUTERNAME%.%USERDNSDOMAIN% | find /I "Name:"
Kind regards,
Pieter
Dit bericht wordt verzonden vanuit een e-mailadres voor professioneel gebruik.
De verantwoordelijken binnen de organisatie kunnen kennis nemen van alle
berichten verzonden naar dit adres.
Le présent message est envoyé d'une adresse e-mail pour usage professionnel.
Les responsables de l'organisation peuvent prendre connaissance de tous les
messages envoyés à cette adresse.
This message is sent from an e-mail address for professional use only. The
persons in charge of the organisation may take note of all messages sent to
this address.
To unsubscribe send a message with UNSUBSCRIBE in the subject line to
salive@woodstone.nu (mailto: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.