Archive for June, 2007
Things you can do by piping appcmd commands
Jun 17th
Here are some of the cool things you can do by piping appcmd commands together in IIS7.
Application Pools
1. Recycle all application pools (replace recycle with start/stop to start/stop all apppools)
appcmd list apppool /xml | appcmd recycle apppool /in
2. Stop application pools with word "cheap" in it
appcmd list apppool /name:"$=*cheap*" /xml | appcmd stop apppool /in
3. Set property enable32BitAppOnWin64 to true for all apppools (Filter apppools as in 2 if needed)