Hi All,
I have written batch code which is running fine to find weather service is existed or not.But I want to pass parameter which holds server name and find weather the service is existed or not .Can any one help me how can i do it
@echo off
if %ERRORLEVEL%==0 echo "MS SQLServer Analysis Service running"
if %ERRORLEVEL%==1 echo "MS SQLServer Analysis Service not running"
Pause
Samar