http://technet.microsoft.com/en-us/library/cc732742(WS.10).aspx
上面的 URL 描述了如何启动/停止 IIS 7 应用程序池。但是,我的应用程序池名称中有空格。双引号不起作用。想法?
C:\Windows>C:\Windows\System32\inetsrv\appcmd stop apppool /apppool.name: My Ap
p Services
Failed to process input: The parameter 'App' must begin with a / or - (HRESULT=8
0070057).
C:\Windows>C:\Windows\System32\inetsrv\appcmd stop apppool /apppool.name: "My A
pp Services"
ERROR ( message:The attribute "apppool.name" is not supported in the current com
mand usage. )
Run Code Online (Sandbox Code Playgroud)