Wash mushrooms and dry them with paper towel. You can cut them in pieces or keep them as it is.
Chop onions very fine and mince or grate the garlic pieces and keep them aside.
Heat the pan or wok on medium heat and add oil, pepper corns and dry red chilly. Saute for few seconds or till chilly becomes little crisp.
Add onion, garlic and salt. Cook till onions become slightly pink. Saute onions couple of times in between.
Now add mushrooms, cover and cook till mushrooms are nicely roasted. Now add turmeric powder, cumin powder, coriander powder and red chilly powder.
Mix the spices and add ½ cup of water. Let the water come to a boil. Add cream, kasoori methi and sugar. Cover with lid and cook till gravy becomes thick.
Garlicky mushrooms are ready to serve.