2019/03/11
Command line recycle IIS Application Pool
## Use appcmd
### List application pool (find the apppool name)
```
C:\Windows\System32\inetsrv\appcmd.exe list apppool
==== the result ====
APPPOOL "DefaultAppPool" (MgdVersion:v4.0,MgdMode:Integrated,state:Started)
APPPOOL "Classic .NET AppPool" (MgdVersion:v2.0,MgdMode:Classic,state:Started)
APPPOOL ".NET v2.0 Classic" (MgdVersion:v2.0,MgdMode:Classic,state:Started)
APPPOOL ".NET v2.0" (MgdVersion:v2.0,MgdMode:Integrated,state:Started)
APPPOOL ".NET v4.5 Classic" (MgdVersion:v4.0,MgdMode:Classic,state:Started)
APPPOOL ".NET v4.5" (MgdVersion:v4.0,MgdMode:Integrated,state:Started)
```
### Recycle the application pool
```
C:\Windows\System32\inetsrv\appcmd.exe recycle apppool ".NET v2.0 Classic"
==== the result ====
".NET v2.0 Classic" successfully recycled
```
訂閱:
文章 (Atom)
-
一個糖果有一個糖果紙 一個糖果1元 現在商店在作促銷 3個糖果紙可以換1個糖果 請問 15元最多可以吃幾個糖果?
-
內容取自 Producthunt =============================== "What's a tool that changed your life?" - us to freelancers on Twitt...
-
## Use appcmd ### List application pool (find the apppool name) ``` C:\Windows\System32\inetsrv\appcmd.exe list apppool ==== the result ==...