Simple batch file for testing system status

[BATCH script] @Echo off Set Version=1.6.1.0 Set Leader= set HOSTNAME=LOCALHOST rem set HostName=DT6761 if not "%1"=="" set HOSTNAME=%1 Call :Test %HostName% goto :EOF :Test rem goto :skip1 rem @ECHO ON echo ===[ %HOSTNAME% ]========= rem ============================= Echo Check NSLOOKUP rem ============================= NSLOOKUP %HOSTNAME% 2>nul|find /i "Name:">Nul if NOT errorlevel 1 ( echo %Leader% %HOSTNAME% DNS … Continue reading Simple batch file for testing system status