Slice spaghetti squash in half. Scrape out seeds and stringy bits. Drizzle olive oil in a baking dish, and place spaghetti squash cut side down on top. Roast at 450° for 25-30 minutes, or until fully cooked and tender.
Mix with sun-dried tomato basil pesto. Add salt and pepper as needed. Reheat if necessary.