Preheat your oven to 350°F (175°C).
Cook spaghetti or egg noodles according to package instructions; drain and set aside.
In a large skillet, heat olive oil over medium heat.
Add sliced mushrooms and sauté until golden brown.
Stir in shredded chicken and cook for about 2 minutes.
Pour in chicken broth and heavy cream, mixing well.
Add garlic powder, onion powder, salt, and pepper; stir to combine.
Mix in cooked noodles and half of the Parmesan cheese.
Transfer the mixture to a greased baking dish.
Top with remaining Parmesan cheese and bake for 20 minutes until bubbly and golden.