http://technet.microsoft.com/en-us/library/cc732742(WS.10).aspx
The above URL describes how to start/stop an IIS 7 app pool. However, I have spaces in my app pool name. Double-quotes doesn't work. Ideas?
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. )
ERROR ( message:The WAS service is not available - try starting the service first.)
, you'll need to re-open with Administrative Privilegesnet start was
.appcmd recycle apppool /apppool.Name:"My App Services"
instead.