A man appeared in the Auckland District Court on Monday morning charged with exposing himself to women on trains.
Police said the man, 36, exposed himself on two occasions.
They will keep running undercover operations on the Auckland train network to stop anti-social behaviour.
More officers, both uniformed and in plain-clothes, will be riding the trains.