command Specifies the command you want to execute. For example, if you want to stop a service,
you issue the stop command. Some commands can work alone or with a service name.
To obtain a list of all of the services installed on a machine, type SC Query and press Enter at the
command line.
service_name Specifies the name of the service that you want to manage. This name isn??™t the
same as the name that you see displayed in the Services console located in the Administrative
Tools folder of the Control Panel. The name also isn??™t the executable name for the service. This
entry is the name that the service used for registration purposes. For example, to access the
Event Log, you would use the eventlog service. However, the display name for this service is
Event Log and the executable name is Services.EXE. Use the SC Query command to obtain a
list of registered service names on the target system.
option1 [option2...] Provides additional information required by some commands.
56 CHAPTER 3 PERFORMING ESSENTIAL MAINTENANCE TASKS
The focus of this section is the command that you issue to a service. The command determines what
tasks the service performs.
Pages:
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203