Here is a version tailored to what you want to find. Reading and Experimenting will help increase your knowledge as well. When you have time please review the KiXtart manual as well as the FAQ section here on the board. You can also download the HELPFILE from my site (the link is in my signature)

From a DOS prompt on either Windows 2000 or XP :
Using KiXtart v4.21

NOTICE: The remote system must have WMI installed. 2000/XP have it by default, NT 4 does not. Please review this FAQ for further information on this.
http://www.kixtart.org/board/ultimatebb.php?ubb=get_topic;f=10;t=000048

C:\SCRIPTS\KIX32.EXE CHECKNAV.KIX


$strComputer = "NameOfComputerToCheck"
$Proc = "Norton Antivirus Server"

BREAK ON
ListProc($strComputer, $Proc)

FUNCTION ListProc($strComputer,$Proc)
For each $Process in GetObject("winmgmts:{impersonationLevel=impersonate}!\\" + $strComputer + "\root\cimv2").ExecQuery("select * from Win32_Service where Name='$Proc'")
? $PROC +' on '+$strComputer +' is '+$Process.state
Next
ENDFUNCTION


[ 28. May 2003, 00:56: Message edited by: NTDOC ]