Combine pasta, broccoli, yellow squash, cherry tomatoes, and pesto in freezer and oven safe baking tray.
Sprinkle mozzarella cheese on top (optional).
If freezing, cover baking tray with heavy duty foil or thick plastic wrap and store in the freezer for up to 3 months. When ready to enjoy, remove from freezer and let thaw.