Check if remote service is running
-
Check if remote service is running
Hi everybody, I'll get straight to the point: I am trying to write a script, program, whatever to check if a service is running on a remote host.
My idea was to get this to run on a Win 7 Enterprise machine, check if a specific service (SQL Server Agent) is running on a bunch of remote hosts (Windows Server 2008 r2) and send a quick email with the status of my services.
I wanted it to run on the Windows 7 machine so as not to overload the servers. Of course I have admin access to all of the servers.
I know I could write a .NET program that check if the service is running locally and then call that program remotely, but I'd prefer all the computation to happen client-side and using the .NET framework so as not to install anything unnecessary on the servers.
So, does anyone know how I can query a remote service to check if it's up or not?
Thanks in advance!
-
Re: Check if remote service is running
Hi folks, never mind, I found a solution.
In case anyone is interested check out the sc.exe command line utility that comes with Windows.
Similar Threads
-
By News in forum Knowledge Base (KB)
Replies: 0
Last Post: 09-30-2012, 06:50 AM
-
By News in forum Knowledge Base (KB)
Replies: 0
Last Post: 05-09-2012, 07:50 AM
-
By News in forum Knowledge Base (KB)
Replies: 0
Last Post: 11-09-2011, 06:00 AM
-
By News in forum Knowledge Base (KB)
Replies: 0
Last Post: 10-07-2011, 04:00 PM
-
By Anirban in forum Windows 7 Support
Replies: 0
Last Post: 08-30-2010, 06:52 AM
Visitors found this page by searching for:
Search engine data is still being processed!
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules