1. Preheat oven to 375 degrees (F).Grease a 9x9 or equivalent oven proof pan.Overlap of the zucchini and onion slices in the pan, then season with salt and pepper and sprinkle with cup of shredded cheese.Repeat two more times until you have three layers and have used up all of the zucchini, onions, and shredded cheese.
2. Combine the garlic powder, butter, and heavy cream in a microwave safe dish.
3. Heat for one minute or until the butter has melted. Stir.Gently pour the butter and cream mixture over the zucchini layers.
4. Bake at 375 degrees (F) for about 40 minutes, or until the liquid has thickened and the top is golden brown.
5. Serve warm.