Trent Boult’s impressive new-ball spell set the tone for his side as New Zealand defeated Pakistan by 47 runs in the first match in Abu Dhabi.
Pakistan, at one stage, were reduced to 8 for 3 while chasing 267. Boult dismissed Zaman (one), Azam (nought) and Mohammad Hafeez (nought) in the third over to claim a hat-trick.
"It's nice to be back out there and get the win for the boys," said Boult.
"The hat-trick ball I was just trying to make him play and to slide one onto the pads is a great feeling."
New Zealand were in trouble at the start but then Ross Taylor notched up 80 runs while wicket-keeper Tom Latham struck 64-ball 68 to lead New Zealand to 266-9.
In response, Pakistan were reduced to 85-6, before Sarfraz Ahmed (64) and Imad Wasim (50) stitched 103-run partnership for the seventh wicket.
Pakistan skipper Sarfraz looked in complete control before he dragged a Colin de Grandhomme delivery onto his stumps.
Imam-ul-Haq (34) and Shoaib Malik (30), who added 63 runs for the fourth wicket, were leading Pakistan’s recovery but both batsmen fell to poor shots.
Earlier, New Zealand recovered from 78-3 and then 210-7 to set a challenging target.
Paceman Shaheen Shah Afridi, playing only his fourth one-day international, rattled New Zealand at the start with the scalps of Worker and Munro.
Kane Williamson pulled a half-tracker from Shadab straight into the hands of mid-wicket before Taylor and Latham came to the rescue.
The pair compiled a fourth-wicket stand of 130, but three wickets in one over from Shadab Khan appeared to halt the onslaught.
But 42 runs from the lower-order by Ish Sodhi (24) and Tim Southee (20) gave New Zealand a more fighting total.
"We caught them at 210-7 but 50 plus runs for the last three wickets hurt us badly," said Sarfraz.
"New Zealand have good new ball bowlers and early wickets pushed us too much."
The victory gave New Zealand a 1-0 lead in the three-match ODI series and extended their ODI winning streak against Pakistan to 12 matches dating back to December 2014.