Melt the butter over medium heat. Add the shallot and cook for 3 minutes, stirring often.
Stir in the garlic and cook for 30 seconds more.
Add the cauliflower and cook over medium heat for 10 minutes, stirring often.
Add the cream, Parmesan, salt, and pepper and stir well. Cook over medium heat, stirring occasionally, until cauliflower is tender and mixture is thick and creamy, about 5 minutes.