Rijwan has asked for the wisdom of the Perl Monks concerning the following question:

How to start/stop services which are running in services.msc? How to get list of processes running?

Replies are listed 'Best First'.
Re: start/stop services
by Anonymous Monk on May 14, 2009 at 09:44 UTC
Re: start/stop services
by balaji_red83 (Acolyte) on May 14, 2009 at 11:48 UTC
    use, for starting the service on any server.
    Win32::Service::StartService($host,$service_name)
    for stoping the service on any server.  Win32::Service::StopService($host,$service_name)
      You forgot the rest of the manpage :), Win32::Service::GetServices(hostName, hashref)