In a mixing bowl, combine the sour cream, milk, melted butter, garlic powder, onion powder, dried thyme, salt, and pepper. Mix well until all the ingredients are evenly incorporated. Add the diced potatoes, diced ham, and shredded cheddar cheese to the bowl. Gently toss everything together until the potatoes and ham are coated with the creamy mixture.