electromagnet and PSU

if I have the polarity of the electromagnet one way...it kills the PSU and I get no power...when I reverse the polarity of the wires...everything works fine in the circuit.

No I am sure you are wrong. That doesn't make any sense at all. That is not how coils work, reverse the power and you just reverse the field. You must be doing something else.