1 (3-pound) butternut squash, peeled, seeded and cut into 1-inch cubes
Salt and freshly ground black pepper, to taste
1/2 cup freshly grated Parmesan
1/4 cup purchased basil pesto
2 tablespoons unsalted butter, cut into 1/2-inch pieces, plus more for greasing