Preheat oven to 350 degrees. Butter a 9 by 13-inch baking dish. Add a layer of sliced potatoes, and then lightly season the potatoes with salt and pepper. Add some of the ham pieces, and a light sprinkling of cheese.
Repeat the layers until you run out of potatoes. Pour the heavy cream into the dish, make sure the top layer of the potatoes are covered. You may need to add more cream than listed.
Bake for about 45 minutes or until golden brown and the potatoes are tender. Serve immediately.