Cube ham, grate cheeses, chop vegetables.
Put the pasta in a medium-sized resealable bag.
Put ham and cheeses into a large resealable freezer bag.
Mix together the other ingredients and pour over the ham and cheese.
Seal the bag and staple the pasta bag to it.
Put the ingredients in the slow cooker and cook for 4 hours on low.
Or empty the contents of the large bag into a casserole dish and bake, covered, in a 350° oven for 1 hour.
Cook the pasta on the stovetop according to the package directions.
Drain pasta and stir into the casserole before serving.