1. Preheat oven to 350°F/180°C.
2. Slice the peeled potatoes into ½-centimeter slices.
3. Season the potatoes with salt and pepper, tossing them to make sure they’re coated evenly.
4. Press a layer of potatoes evenly into the bottom of a greased, square baking pan.
5. Place half of the ham slices evenly on top of the potatoes, followed by half of the sliced cheese.
6. Follow with another layer of potatoes, then the remaining ham and sliced cheese.
7. Sprinkle the bacon and parsley evenly on top of the sliced cheese, and place one final layer of potatoes on top.
8. Sprinkle the shredded cheese on top of the potatoes, then press it into an even layer.
9. In a small bowl, mix the heavy cream and eggs. Pour on top of the shredded cheese.
10. Bake for about 40 minutes, until the cheese is a deep golden brown.
11. Cool slightly, slice, then serve!
12. ***baking time may vary with large quantities