Add water in the instant pot and place trivet in it.
Place spaghetti squash cut in halves on trivet.
Close the lid of the instant pot and set the valve to seal.
Set the instant pot to “Manual” at high pressure for 7 minutes, release the pressure quickly through steam vent.
Open the lid of the instant pot and remove the spaghetti squash from it.
Place spaghetti squash on a clean surface.
Shred the squash with fork to remove spaghetti like strands into a bowl.
Remove water from instant pot and select sauté.
Place butter and oil in it and let butter melt.
Stir in salt, pepper, garlic cloves and cook for 2 minutes.
Press cancel and return spaghetti squash to instant pot.
Add in parmesan cheese, parsley and toss evenly to mix.
Serve and enjoy.