Preheat oven to 425°F. Lightly grease two ramekins or small oven-safe dishes with vegetable oil.
Divide the asparagus, ham, and Swiss cheese evenly between the ramekins. Create a small well in the center of the ingredients. Crack two eggs into each well. Season with salt and pepper.
Bake for 10 – 12 minutes, until the egg whites are set and the yolks are cooked to your liking.