2025-04-27 07:49:33 -04:00

108 lines
3.5 KiB
HTML

<html dir=ltr><head><title>Stop Server (stopsrv)</title>
<SCRIPT LANGUAGE="JavaScript">
<!--
TempString = navigator.appVersion
if (navigator.appName == "Microsoft Internet Explorer"){
// Check to see if browser is Microsoft
if (TempString.indexOf ("4.") >= 0){
// Check to see if it is IE 4
document.writeln('<link rel="stylesheet" type="text/css" href="/iishelp/common/coua.css">');
}
else {
document.writeln('<link rel="stylesheet" type="text/css" href="/iishelp/common/cocss.css">');
}
}
else if (navigator.appName == "Netscape") {
// Check to see if browser is Netscape
document.writeln('<link rel="stylesheet" type="text/css" href="/iishelp/common/coua.css">');
}
else
document.writeln('<link rel="stylesheet" type="text/css" href="/iishelp/common/cocss.css">');
//-->
</script>
<SCRIPT LANGUAGE="VBScript">
<!--
Sub Window_OnLoad()
Dim frmContents
On Error Resume Next
If Not Parent Is Nothing Then
Set frmContents = Parent.Contents
If Not frmContents Is Nothing Then
frmContents.Window.TOCSynch_Click
End If
End If
End Sub
//--></SCRIPT>
<meta name="description" content="This topic contains conceptual and procedural information about the Stop Server (stopsrv) administration script.">
<META HTTP-EQUIV="Content-Type" content="text/html; charset=Windows-1252">
<META HTTP-EQUIV="PICS-Label" CONTENT='(PICS-1.1 "<http://www.rsac.org/ratingsv01.html>" l comment "RSACi North America Server" by "inet@microsoft.com <mailto:inet@microsoft.com>" r (n 0 s 0 v 0 l 0))'>
<META NAME="MS.LOCALE" CONTENT="EN-US">
<META NAME="MS-IT-LOC" Content="Internet Information Services">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<font face="Verdana,Arial,Helvetica">
<h1 align="left">Stop Server (stopsrv)</h1>
<p><strong>Summary:</strong></p>
<p>This stops a list of servers.</p>
<p><strong>Usage:</strong></p>
<table cellspacing="2" cellpadding="5">
<tr>
<td valign="TOP">stopsrv</td> <td>&lt;--ADSPath|-a ServerInstance/X[,<font face="Verdana,Arial,Helvetica">ServerInstance/Y</font>,<font face="Verdana,Arial,Helvetica">ServerInstance/</font>Z...]&gt;<br>
[--computer|-c COMPUTER1[,COMPUTER2...]]<br>
[--verbose|-v]<br>
[--help|-?]</td>
</tr>
</table>
<p><strong>Parameters:</strong></p>
<table cellspacing="2" cellpadding="5">
<tr>
<td valign="TOP">-a
<font face="Verdana,Arial,Helvetica">
ServerInstance/X
</font>
</td> <td>The instance of the Web server or FTP server. This is usually <b>w3svc/</b><i>X</i>
or <b>msftpsvc/</b><i>X</i> where <i>X</i> is the ordinal of the server
instance.&nbsp; On a default installation of IIS, <b>w3svc/1</b> refers to the
Default Web Site which is mapped to the Inetpub\Wwwroot folder on your system
drive.</td>
</tr>
<tr>
<td valign="TOP">-Computer</td> <td>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.</td>
</tr>
<tr>
<td><em>-verbose</em></td> <td>Print status information during processing.</td>
</tr>
<tr>
<td>-h</td> <td>Return help on this command.</td>
</tr>
</table>
<P><STRONG>Examples:</STRONG></P>
<p>Example 1: stopsrv -a w3svc/1,msftpsvc/2 </p>
<p>Example 2: stopsrv -c MACHINE1,MACHINE2,MACHINE3 -a w3svc/1,msftpsvc/2</p>
<hr class="iis" size="1">
<p align="center"><em><a href="/iishelp/common/colegal.htm">&copy; 1997-2001 Microsoft Corporation. All rights reserved.</a></em></p>
</font>
</body>
</html>