[***SPAM***] Re: [PHP-WIN] Start and stop windows service for multiple remote computers

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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" <samcalc@xxxxxxxxx>
To: <php-windows@xxxxxxxxxxxxx>
Sent: Monday, September 29, 2008 8:58 PM
Subject: 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


[Index of Archives]     [PHP Home]     [PHP Users]     [PHP Database Programming]     [PHP Install]     [Kernel Newbies]     [Yosemite Forum]     [PHP Books]

  Powered by Linux