Cook the spaetzle or penne in plenty of salted water according to the instructions on the package until al dente, rinse and drain. Clean and wash the spinach leaves, blanch in boiling water for about 1 minute. Clean the mushrooms, rub with kitchen paper, rinse if necessary, cut into slices.
Heat the herb butter, sauté the mushrooms, pasta and leaf spinach in it, season with salt, pepper and garlic. Serve and sprinkle with cheese.