Troubleshooting – How to test a power supply?

My computer powered off the other day on its own, and now when I push the power button, nothing happens. My assumption would naturally be that the power supply is done (possibly well done) but is there any good way to test this before I buy a new one?

Solution:

Unplug the power supply from any of the components inside the computer (or just remove it from the computer completely).

USE CAUTION HERE (Though you’d only be shocked with a max of 24 volts)

  1. Plug the power supply into the wall.
  2. Find the big 24-ish pin connector that connects to the motherboard.
  3. Connect the GREEN wire with the adjacent BLACK wire.
    (If you’re colorblind, the green wire sits between three black wires on one end and one more on the other)
  4. The power supply’s fan should start up. If it doesn’t then it’s dead.
  5. If the fan starts up, then it could be the motherboard that’s dead. You can use a multimeter to check if there is power output from the power supply.

enter image description here