I think the above poster has a good idea. It's what I do, and it also works with anything else you want to turn off with your computer (e.g., monitor).
However, I think the Belkin strip above was designed for TVs and may not be accustomed to the wattage of a computer. The level at which it switches the other devices on and off is not adjustable. It may work, but I personally use the
Smart Strip because I can adjust the level (i.e., amount of power draw) at which the automatically-switched devices turn on and off.
For some reason, the product I linked to above is very expensive today. I guess Amazon ran out and it's a third-party seller. It's usually not quite so expensive. If you want it but can wait, I would wait; otherwise, they actually have other models with more features that currently cost less than that, so you might look into one of those (or this same product at another store) instead.