An old desktop was brought in that was randomly powering off. A quick look inside revealed some clogged up vents, fans and heatsinks. Even if overheating was not the main problem it was worth a clean!
We cleaned up the insides with a small brush and compressed air duster. We could have ran some temperature diagnostic software but the unit was powering off so frequently that a quick test showed that the cleaning had been successful.