Preheat the oven to 350 degrees, and grease a 9x13 baking dish well with cooking spray or oil.
Layer the hashbrowns, diced ham, onions, peppers and cheese over the hashbrowns in the baking dish.
In a large bowl, whisk together the eggs, evaporated milk, salt, pepper and garlic powder until smooth.
Pour the mixture over the ingredients in the baking dish.
Bake uncovered for 45-55 minutes or until completely cooked through and golden brown on top.
Allow the casserole to rest for 5-10 minutes before slicing to serve.