Preheat the oven to 400°F. Spray a 9x13-inch baking dish with cooking spray.
Dump the frozen hashbrowns into the baking dish. Drizzle with the melted butter and season with 1/2 teaspoon of the salt and 1/4 teaspoon of the pepper. Toss, then spread in an even layer.
30 ounces frozen shredded hashbrowns, 1/2 cup salted butter, 1 teaspoon kosher salt, 3/4 teaspoon black pepper
Bake for 25 to 30 minutes until the hashbrowns are lightly browned on top and softened. While the hashbrowns are baking, combine the eggs, evaporated milk, seasoned salt, remaining 1/2 teaspoon kosher salt, remaining 1/2 teaspoon pepper, onion powder, and smoked paprika in a large bowl. Beat well and set aside.
8 large eggs, 1 1/3 cups evaporated milk, 1 teaspoon seasoned salt, 1/4 teaspoon onion powder, 1/4 teaspoon smoked paprika
Remove the hash browns from the oven and reduce the oven temperature to 350°F or turn it off if using the overnight approach.
Sprinkle the ham and shredded cheese over the potatoes, tossing a bit to combine. Pour the seasoned egg mixture evenly over the potatoes, making sure to get some around the edges of the pan. At this point, the casserole can be baked immediately or refrigerated overnight and baked in the morning.
1 1/2 cups Pepper Jack cheese, 1 1/2 - 2 cups diced ham, 1 1/2 cups sharp cheddar cheese
Make sure to preheat the oven to 350°F if using the overnight approach. Bake for 40-45 minutes until the edges start to brown slightly and the center is just set and doesn't jiggle. Check on the casserole at the 25-30 minute point to see if it is browning too much and cover with foil, if needed.
Garnish with the chopped green onions, then cut into large squares and serve hot.
2 green onions