New Zealand were all out for 211 late on day two of the of the second and final Test on Wednesday to give South Africa a 31-run first innings lead.

Off-spinner Dane Piedt took career-best figures of 5-89 for the Proteas, who had been dismissed for 242 in their first innings earlier in the day in Hamilton.