Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Sometimes it is needed to dump out the configuration of an application pool in a text file. I have found the following command very useful for that:
appcmd list apppool "test" /text:*
Needless to say, test is the name of the application pool. The output will be like below:
APPPOOL
APPPOOL.NAME:"test"
PipelineMode:"Classic"
RuntimeVersion:"v4.0"
state:"Started"
[add]
name:"test"
queueLength:"10000"
autoStart:"true"
enable32BitAppOnWin64:"false"
managedRuntimeVersion:"v4.0"
managedRuntimeLoader:"webengine4.dll"
enableConfigurationOverride:"true"
managedPipelineMode:"Classic"
CLRConfigFile:""
passAnonymousToken:"true"
startMode:"AlwaysRunning"
[processModel]
identityType:"ApplicationPoolIdentity"
userName:""
password:""
loadUserProfile:"true"
setProfileEnvironment:"false"
logonType:"LogonBatch"
manualGroupMembership:"false"
idleTimeout:"00:20:00"
maxProcesses:"1"
shutdownTimeLimit:"00:01:30"
startupTimeLimit:"00:01:30"
pingingEnabled:"true"
pingInterval:"00:00:30"
pingResponseTime:"00:01:30"
[recycling]
disallowOverlappingRotation:"false"
disallowRotationOnConfigChange:"false"
logEventOnRecycle:"Time, Memory, PrivateMemory"
[periodicRestart]
memory:"0"
privateMemory:"0"
requests:"0"
time:"1.05:00:00"
[schedule]
[add]
value:"03:21:00"
[failure]
loadBalancerCapabilities:"HttpLevel"
orphanWorkerProcess:"false"
orphanActionExe:""
orphanActionParams:""
rapidFailProtection:"true"
rapidFailProtectionInterval:"00:05:00"
rapidFailProtectionMaxCrashes:"5"
autoShutdownExe:""
autoShutdownParams:""
[cpu]
limit:"0"
action:"NoAction"
resetInterval:"00:05:00"
smpAffinitized:"false"
smpProcessorAffinityMask:"4294967295"
smpProcessorAffinityMask2:"4294967295"
I hope this helps someone who needs the same.
Applies To:
IIS 7.0, IIS 7.5, IIS 8.0
--
AMB
Comments
- Anonymous
February 03, 2013
thanksvery helpfulgood things comes your way - Anonymous
October 30, 2013
yes...very helpful indeed... Thanks Ahmet. - Anonymous
October 21, 2014
It is better to instead run the following command if you need to parse the data:appcmd list apppool "test" /config:* /xml - Anonymous
January 05, 2016
Thank you!! Very helpful!!