Preheat oven to 425 degrees and line a baking sheet with foil. Toss mushrooms with olive oil, salt and pepper. Spread in a single layer on baking sheet and roast for 30 minutes.
Remove mushrooms from the oven and toss wish minced garlic and rosemary before serving.