Clean and slice the mushrooms evenly to ensure they cook nicely and share their rich flavors.
Melt butter in a large skillet over medium heat. Add minced shallots or onions and garlic, cooking until soft and fragrant.
Add the sliced mushrooms and cook until they are golden brown and tender, stirring occasionally to build a rich flavor.
Pour in white wine or vegetable broth to lift the skilled bits stuck on the bottom. Let it simmer until slightly reduced.
Lower the heat and stir in the heavy cream. Add freshly grated Parmesan cheese, stirring until melted and the sauce thickens.
Season with salt, freshly ground black pepper, and finely chopped fresh herbs. Stir well and remove from heat.