Prev | Current Page 1294 | Next

John Paul Mueller

"Administering Windows Server 2008 Server Core"

For
example, if you want to add a new virtual directory with the name MyVDir that has a physical
path of C:\Temp, you would type
AppCmd Add VDIR /app.name:???Default Web Site/??? /path:
/MyVDir /physicalpath:C:\Temp
and press Enter. The VDIR object is often used with other
commands. For example, if you type
FOR /F %f IN ('AppCmd List VDIR /text:physicalPath??™)
DO DIR %f
and press Enter, you??™ll receive a directory listing for each of the virtual directories on
the server.
WP
Monitors the worker processes currently executing on the server. You can only list the
worker processes??”you can??™t add or delete worker processes. If you find that a particular worker
process is frozen or otherwise incapacitated, use the
APPPOOL Recycle
command to fix the problem.
You provide an object type every time you want to perform a task. For example, if you want to
create a virtual directory for a Web site, then you must use the VDIR object. The CONFIG object is
the one that you??™ll use most often when you initially set up a server, as described in Chapter 24.
An Overview of the General Command Line Switches
The AppCmd utility also supports a number of general command line switches that work with
every object type.


Pages:
1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306
sprzedam wózek Mietek Szcześniak Richard Marx Tim McGraw Łona