We value your feedback.
Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!
========================================= script.bat @echo off if [%1]== ( echo useage: script [computer_name] echo Please enter a computer name before running. goto :eof ) echo Checking the following 4 services on a machine %1 ..... rem check_services.bat <computername> for /f "tokens=1-6 delims=[.] " %%a in ('ping %1 -n 1 ^| find "["') do set ip=%%c.%%d.%%e.%%f ping -n 1 %1 >nul 2>&1 if %errorlevel%==0 ( echo %1 [%ip%]: Up ) else ( echo %1 [%ip%]: Down ) echo sc \\%ip% query alerter sc \\%ip% query alerter sc \\%ip% query browser sc \\%ip% query server rem ============================ end of file
Add your voice to the tech community where 5M+ people just like you are talking about what matters.
Join the community of 500,000 technology professionals and ask your questions.