Oh. K. Controlling AC is a bit harder, both technically and from a safety stand-point...
To get the part that connects your _PC_ computer to a switchy thing, I would find a hobby-micro-controller board like the Arduino -- you don't need anything so fancy, but that's a pretty common and "easy" to use example. That board would have a USB connection to your PC and a bunch of inputs and outputs you can connect to things.
I always recommend sparkfun.com as a source because they have a lot of choices in this area, but there are plenty others out there -- and being 220v you are probably not in the USofA so there could be more local sources for you.
For the 220v part, the easiest is a "relay" -- or "solid-state relay" -- which will maintain separation of your computer from the power mains. You can often run such a device directly from the output pin of the micro-controller.
I'd say you're looking at at least $40 in parts and a lot of learning curve. But it's actually a pretty good project to start with, as long as you are cautious with the real power. You can start out with the micro-controller and get it to light up an LED or something, just to see if you have what it takes...