There is no passenger train service connecting Auckland and Wellington (North Island, New Zealand). The Northern Explorer (KiwiRail) runs Auckland ↔ Wellington but only 3 days/week (seasonal), taking ~11 hours. It's a scenic tourist train, not daily transport.
Check Northern Explorer schedule if you want the rail experience; book months ahead.