The command line command net can start/stop services, so you could put the relevant command into a batch file of sorts:
C:\WINDOWS\system32\net.exe start serviceName

or

C:\WINDOWS\system32\net.exe stop serviceName

HTH

Jacob Kruger
Blind Biker
Skype: BlindZA
'...Fate had broken his body, but not his spirit...'

----- Original Message ----- From: "sam rumaizan" <[EMAIL PROTECTED]>
To: <php-windows@lists.php.net>
Sent: Monday, September 29, 2008 8:58 PM
Subject: [PHP-WIN] Start and stop windows service for multiple remote computers


Can someone show me how to Start and Stop windows service for multiple remote computers using Command Prompt or PowerShell or even Java?

Thank you





--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to