Get netsvc from the NT Resource kit:
C:\>netsvc
Controls and displays the status of services.
NETSVC servicename \\computername /command
servicename Name of the service
computername Name of the computer to administer.
/command One of the following:
/query Queries the status of the service.
/start Starts the service.
/stop Stops the service.
/pause Pauses the service.
/continue Starts the paused service.
/list Lists installed services (omit servicename)
Example: NETSVC server \\joes486 /query
Example: NETSVC "Clipbook Server" \\popcorn /stop
Example: NETSVC alerter \\joes486 /pause
Example: NETSVC /list \\joes486
Arguments are allowed in any order.
-- Dale E. Reed Jr. (daler@iea-software.com)_________________________________________________________________ IEA Software, Inc. | RadiusNT, Emerald, and NT FAQs Internet Solutions for Today | http://www.iea-software.com