Check recylce time of an IIS application

We would like to get a report of all recycle events of an IIS application, for this, enable these events in the application pool advanced settings in IIS:



Then run this:


$poolName = "myapppoolname"
Get-Eventlog -LogName system -Newest 1 -Source "WAS" -Message "*recycle of all worker processes in application pool '$poolName'*"

Post a Comment

Previous Post Next Post