To make poached eggs with a hard-cooked yolk, cook the eggs for an extra 2-3 minutes, and the yolk will be cooked through.