For baked potatoes, I usually just throw in the oven, not wrapped in foil. Sometimes I'll coat with olive oil, sometimes not.

I'm not too fond of cooking them in the microwave.
I love baked sweet potatoes too. I do them the same way, just throw in the oven, but without any oil. I do put some foil on the baking sheet though, just for easier cleanup.