Stop Server (stopsrv)

Summary:

This stops a list of servers.

Usage:

stopsrv <--ADSPath|-a server1[,server2,server3...]>
[--computer|-c COMPUTER1[,COMPUTER2...]]
[--verbose|-v]
[--help|-?]

Parameters:

-a SERVERx The number of the server to be stopped.
-Computer Comma-separated list of computers. For example -c Machine1,Machine2,Machine3. This assumes that the specified path exists on all specified computers. If no computer is specified, LocalHost is assumed.
-verbose Print status information during processing.
-h Return help on this command.

Examples:

Example 1: stopsrv -a w3svc/1,msftpsvc/2

Example 2: stopsrv -c MACHINE1,MACHINE2,MACHINE3 -a w3svc/1,msftpsvc/2


© 1997-1999 Microsoft Corporation. All rights reserved.