Preheat oven to 350 F.
In a bowl, cream together the butter, garlic powder, salt and pepper. Spread the butter mixture over each ear of corn.
Wrap each ear of corn in aluminum foil and place on a baking sheet. Roast for 40 minutes, turning halfway through the baking time.
If you’d like your corn to have a little browning, remove the corn from the oven and open the foil to expose the corn. Turn the oven to broil and cook for 2-3 minutes.
Serve with a piece of butter on top. Sprinkle more salt and pepper as desired. I like to garnish mine with fresh thyme