Closing all the Photoshop layer groups at once

The great thing about Twitter is the ability to ask all my talented friends for solutions to immediate problems, in the same way as I might turn around in an office and ask questions of my nearby colleagues. All well and good, but the question and the answer aren’t collated which is mildly frustrating and …