Left-hander Haris Sohail knocked his maiden one-day century to guide Pakistan to 280 for five in the first day-night international against Australia here on Friday.
The 30-year-old made an unbeaten 115-ball 101 in his comeback match after returning home from the South Africa tour with a knee injury last year.
Pakistan rested six of its key players including regular skipper Sarfraz Ahmed to give them break before the World Cup.
Haris, who reached 1,000 runs in his 27th One-Day International when on 40, added 98 for the third wicket with Umar Akmal who made a 50-ball 49.
Haris took a single to complete his hundred in the last over, finishing with six boundaries and a six. He made his previous best of 89 not out against Zimbabwe in Lahore in 2015.
Skipper Shoaib Malik fell for 11 and Faheem Ashraf and Imad Wasim scored 28 each.
Brief scores: Pakistan 280 for five in 50 overs (Shan Masood 40, Haris Sohail 101 n.o., Umar Akmal 49, Faheem Ashraf 28, Imad Wasim 28 n.o.) vs Australia.