Place pasta in boiling water and cook until tender, about 10 minutes.
Drain and place in a bowl.
Cook milk and butter over low heat until butter melts.
Slowly add cheeses and stir until completely melted.
Pour cheese sauce over pasta.
Mix with spoon until blended.
Season to taste with salt and pepper.
Preheat oven to 400°.
Line a 12-hole cupcake tin with ham ensuring each hole is lined completely and ham hangs over slightly.
Spoon pasta and sauce into ham cups.
Bake 30 minutes.
Remove cups from tin and serve warm.