Unbeaten Auckland City face a lengthy return trip for their quarter-final in the Chatham Cup.
The Navy Blues have drawn Dunedin City Royals away in the tie to be played over the weekend of July 30-31.
The other remaining Auckland teams have drawn each other with Waiheke United facing the winners of the rescheduled fourth-round tie between Birkenhead United and Eastern Suburbs.
Hamilton Wanderers will travel to Wellington to meet Miramar Rangers whose assistant coach is former Wanderers head coach Kale Herbert.
Games to be played over weekend of July 30-31
Dunedin City Royals v Auckland City
Miramar Rangers v Hamilton Wanderers
Wellington Olympic v Cashmere Technical
Waiheke United v Birkenhead United or Eastern Suburbs
Watch the cup draw
The cup draw was made by Football Fern Ava Collins and NZ Football Competitions Manager Jake Piper.