is it possible to check when i recycled the app pool last time, i want to check the date when my app pool was last recycled, is there anything in IIS i can get this info.
This will give you a list of all the w3wp processes on the machine and their start times. The ErrorAction prevents the commandlet from throwing an error if no websites are started and therefore no w3wp processes exist
ps w3wp -ErrorAction SilentlyContinue | select ProcessName, StartTime
Tested on Server 2012 R2 with powershell v4.0