Prepare all of the ingredients. Preheat oven to 350degF.
In a saucepan over medium heat, add butter and garlic powder. Once melted, whisk in flour. Cook for 3 minutes then whisk in chicken broth. Cook for 2 minutes then whisk in heavy cream. Cook for 2 minutes then whisk in 2 cup of cheddar, and 1 cup of mozzarella. Once fully melted in, whisk in dried onion. Then stir in ⅔ of the chopped ham.
In a 13x9 baking dish (or 2 8x8 baking dishes), pour ⅓ of the cheese sauce into bottom. Add half of the sliced potatoes in a even layer. Pour ⅓ of the cheese sauce over the potatoes. Add second half of potatoes in a even layer. Pour remaining cheese sauce.
Sprinkle with remaining cheeses and ham. Sprinkle with parsley flakes. Place in oven and bake for 60 minutes. Let rest at least 5 minutes before serving.
Keyword casseroles, cheese sauce, cheesy potatoes, golden potatoes, Ham, potato