So im trying to make a data-grid that displays some information about local window services, mine in particular, I would like to have the display name and status of the service, and then have a button
We have some winodow services on the remote machine. I am not able to start and stop that services usin开发者_开发知识库g service controller from my machine.You can use Powershell and supply it with t
I have been using an application that queries Windows Services running on remote servers and writes the Machine Name, Service Name, and Status to a database.
on my website (written in ASP.NET/C#) I want the moderaters to be able to start a certain service. The code I have for this is:
I\'m using ServiceController to restart windows server. Here is my C# code. ServiceC开发者_如何学Pythonontroller service = new ServiceController(\"ServiceName\");
How do开发者_C百科 I remotely install a Windows service using C#? (I prefer not calling sc.exe / psexec / powershell remoting).
I know the service that is running using ServiceController sc = new ServiceController(); ServiceController.GetServices(DropDownListMachineName.SelectedValue))
I am trying to develop a windows application to start/stop and monitor status of two particular services.
I\'m trying to use ServiceController.GetServices() method to get the list of all the services. In a console application, it works OK, but I get an empty list if I call this method in a windows service
I\'m trying to control Windows Services that are installed in a remote computer. I\'m using the ServiceController class.