For example, when you issue a stop command, the service stops whatever
it??™s doing at the time. The following list describes the common commands for all services. Theoretically,
a vendor could (and many do) introduce custom commands for a particular service. You??™ll
need to refer to the vendor documentation to discover these custom commands.
query Queries the status of a service or enumerates the services installed on the computer. The
output from this command includes service name, type, state, Win32 exit code, service exit code,
checkpoint, and wait hint. You don??™t need to provide a service name with this command. You
can filter the output of this command by adding optional information described in the following
list (make sure you include the space between the equals sign (=) and the setting).
type={driver | service | all} Specifies the kind of service to query. The default
setting is a service.
state={inactive | all} Defines the state of the service to enumerate. The default
setting is active.
bufsize=size Defines the size of the enumeration buffer in bytes. The default size is
4,096 bytes.
ri=index Specifies the resume index at which to begin the enumeration.
Pages:
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204