Kyle Jamieson picked up 11 wickets in the match helps New Zealand to massive innings win and No. 1 on the rankings.
Kane Williamson 237, Henry Nicholls 157, Daryl Mitchell 102*, New Zealand declared on 659/6 -- a lead of 362 runs.
Kiwis skipper added another feather to his illustrious cap as he became the fastest New Zealand batsman to register 7000 runs in the longest format of the game on Tuesday.
The pair added 200+ runs for the fourth wicket stand. The Kiwis concluded day two at 286/3, trailing Pakistan by 11 runs
Azhar Ali made an assured 93 while Mohammad Rizwan made a counterattacking 61.
Rizwan, Fawad put on a 165-run stand for the fifth wicket but the hosts found a way through
The visitors were 52/5 when a century stand between Rizwan and Ashraf steadied things.
Jamieson strikes after New Zealand make 431. Earlier, Kane Williamson scored his 23rd Test hundred.
Shaheen Afridi-led attack tried to keep New Zealand in check but fifties from Taylor and Williamson gave the hosts a slight edge on day one of the first Test.
Rizwan smashed 89 - his maiden T20I half-century - to help Pakistan win by four wickets.