Cook the spaghetti according to the instructions on the packet.
In the meantime, bring the cream to the boil, add the peas and the finely chopped garlic and simmer for about 5 minutes on a low level. Cut the ham into fine cubes and add. Season to taste with salt and pepper.
Strain the cooked spaghetti and arrange on plates. Pour the sauce over it, sprinkle with the finely chopped parsley and serve with grated Parmesan.