Cook the pasta according to package instructions in salted water until al dente.
While the pasta cooks, heat olive oil in a large skillet over medium heat.
Add sliced mushrooms to the skillet and sauté until golden brown, about 5 minutes.
Stir in minced garlic and cook for an additional minute until fragrant.
Reduce heat to low and pour in the heavy cream, stirring to combine.
Add grated Parmesan cheese and continue stirring until melted and creamy.
Season with salt and pepper to taste.
Drain the pasta and reserve a cup of pasta water.
Add the drained pasta to the skillet and toss to coat in the sauce.
If the sauce is too thick, add reserved pasta water a little at a time until desired consistency is reached.