Preheat the oven to 350°F and coat a 13x9 inch white ceramic baking dish with cooking spray or butter.
In a cream enameled Dutch oven over medium heat, cook the ground pork sausage with the diced sweet onion, breaking the sausage into small crumbles with a wooden spoon, about 8 to 10 minutes, until no pink remains and the onion turns soft and translucent. Drain off the excess fat.
Spread the thawed, shredded hashbrowns evenly across the bottom of the prepared baking dish, pressing gently so the layer sits level from corner to corner.
Scatter the cooked sausage and onion evenly over the hashbrowns.
Sprinkle the shredded cheddar and Swiss over the sausage layer, covering it completely so no bare patches of sausage show through.
In a white mixing bowl, whisk together the eggs, milk, cottage cheese, salt, pepper and garlic powder until no large curds remain visible and the mixture looks pale yellow and slightly thick.
Pour the egg mixture slowly and evenly over the layered dish, tilting it gently so the liquid reaches every corner.
Bake uncovered for 40 to 45 minutes, until the top turns golden in a few spots, the center puffs slightly, and a knife inserted in the middle comes out clean with no wet egg clinging to it.
Remove the dish from the oven and let it rest on a wire rack or trivet for 15 minutes before cutting; this time lets the custard finish setting so each square holds its shape instead of spilling across the knife.
Cut into 12 pieces directly in the dish and serve warm.
Good to Know
Let it rest the full 15 minutes before cutting. The eggs are still setting underneath, and a square cut too early looks loose instead of clean.