Heat the oil in a large ovenproof skillet over medium heat. Add the hash browns and chopped onion, cooking while stirring occasionally until the onions become tender and the potatoes develop a golden, crispy exterior.
Remove the skillet from the heat and stir in the chopped corned beef along with the salt, distributing the meat evenly throughout the potato mixture.
Create several deep wells across the surface of the hash. Carefully crack an egg into each well so the eggs sit neatly within the mixture.
Season the eggs lightly with salt and pepper, then cover the skillet and transfer it to a preheated oven set to a moderate temperature.
Bake until the egg whites are set and the yolks reach your preferred level of doneness.
Remove from the oven and sprinkle fresh parsley over the top before serving directly from the skillet.