VB.Net get list of Services on Remote Computer.... How?

  • Thread starter Thread starter Roger
  • Start date Start date
R

Roger

I would like to get a list of services on a remote computer. Is this
possible via code in VB.Net?


Thanks,

Rog
 
Roger,
Window Services or Web Services.

For Windows Services have you tried:

System.ServiceProcess.ServiceController.GetServices?

The GetServices is overloaded to retrieve both services local to the
machine, and services on a remote machine.

Dim services() As ServiceController
services = ServiceController.GetServices("MyServer")

Hope this helps
Jay
 
Back
Top