My Problem

The imac didn't power on. I tested with another power supply from an imac working and It powered on.

My Fix

It was easy to change the power supply with your guide.

My Advice

If the imac don't power on, change the power supply.