5

we using the below command to get the list of the site added in is:

%systemroot%\system32\inetsrv\AppCmd.exe list sites

but the above command can not take a list of app pools related to the site.

I want a list of app pools. if a single command to viewing list of site and related app pool, really good.

User12
  • 129

2 Answers2

8

below command, get the list of the application pools:

%systemroot%\system32\inetsrv\AppCmd.exe list apppool
User12
  • 129
2

You can also do in powershell via Get-IISAppPool in the IISAdministration Module like this:

Import-Module IISAdministration

Get-IISAppPool

KyleMit
  • 498