Preheat oven to 350 degrees F (175 degrees C). Grease a 9x13 inch baking dish.
In a large bowl, combine potatoes, melted butter, garlic powder, onion powder, salt and pepper. Mix until potatoes are evenly coated.
Spread potatoes into the prepared baking dish.
Bake in preheated oven for 40 minutes. Sprinkle cheese over the top of the potatoes and continue baking for an additional 10 minutes, or until cheese is melted and bubbly.