Hej,
if you plan to use relays to switch the power on the supply to your computer, you could take a look at the following drawings explaining how to drive a relay using a transistor from Arduino:

and
You can find the high resolution version of those sketches at:
/David