Australia handed themselves the ideal boost ahead of entering the Super Ten stage of the ICC World Twenty20 in India next week by completing a 2-1 victory over South Africa in a best-of-three warm-up series.
The third and final match took place at the Newlands Cricket Ground in Cape Town.
After electing to bat, South Africa posted 178 runs off their 20 overs, with Hashim Amla leading the way with a stunning unbeaten 97.
Australia began their reply perfectly with a fine opening stand of 76 from Shane Watson and Usman Khawaja.
Captain Steve Smith added 44 from just 26 balls.
David Warner was the third wicket to go, but before walking he had notched up a respectable 33 runs.
Mitch Marsh hit the winning runs as Australia surpassed the target (181) with four deliveries remaining for a six-wicket victory.
They now head off to India for the World Twenty20, where they kick-start their campaign against New Zealand next Friday.