Hi D_99, welcome ot the PCHF.
Even though the computer was in standby mode, shutting it off like this is still very dangerous to the data on the computer, and to the hardware inside it...however, this being a new power supply...i highly doubt that this is what caused your problem.
It sounds as if there's something shorting out in your case.
First step I would do, is remove everything completely from the computer - power supply, hard drives, motherboards...everything. Make sure there's no lose screws floating around the bottom of the case, and start again.
Only install the
CPU, 1 stick of memory, 1 video card, and the hard drive that has your OS on it...
If the computer behaves the same, I'd start accusing the motherboard of being faulty...
