The best way to cook mashed butternut squash is to boil it on a medium flame, it softens the flesh of the squash and speeds up the cooking process. Alternatively you can also cook butternut squash pieces in microwave and mash them later, for this method use a microwave safe bowl covered with plastic wrap and microwave the cut pieces for 5 minutes.