Share via


How to check the status of SQL Server Services remotely?

There is windows “SC” utility and the following “Heart Beat” approach.

https://www.databasejournal.com/features/mssql/print.php/3347241

You can use SC query and look for string RUNNING

SC \\machineName query MSSQLSERVER ! findstr “RUNNING”