NETSVC.exe (Windows 2000 Resource Kit)

Command-line Service Controller. Start, Stop or Query running services.

Syntax
      NETSVC \\server command servicename 

Key
   server        The workstation or server where the service is running

   servicename   The Name of the service, unlike the SC command this will
                 accept either the DisplayName or the service name

   commands:

        /list     Lists installed services. Omit servicename with this command. 
        /query    Query the status of a service. 
        /start    Start the specified service. 
        /stop     Stop the specified service. 
        /pause    Pause the specified service. 
        /continue Restart a paused service. 

Arguments can be specified in any order:

NETSVC /query \\Server299 "DHCP Client"

NETSVC "DHCP Client" \\Server299 /query

“Everybody can be great...because anybody can serve. You don't have to have a college degree to serve. You don't have to make your subject and verb agree to serve. You only need a heart full of grace. A soul generated by love” ~ Martin Luther King Jr.

Related:

SC - Service Control - Create, Create remotely, Start, Stop, Query, Delete.
NET - manage network resources
SCLIST - Display NT Services
START /HIGH - Start a specified program or command.
Svcmon - Monitor services and raise an alert if they stop. (Win 2K ResKit)
Q251192 - Create a Windows service with SC


© Copyright SS64.com 1999-2013
Some rights reserved