I used a tweaking program which had options for the computer power on-off switch operation. I selected "Turn off computer after power switch is...
Separate names with a comma.