Hardy broke open a close game in the eighth by belting his eleventh home run of the season. Hardy also hit a sacrifice fly as the Brewers won for the seventh time in eight games.
Tony Gwynn Junior provided three of Milwaukee's 16 hits and scored three times. Craig Counsell went 2-for-3 with three runs scored as the Brewers bounced back from Friday's 5-to-4 loss to the Mets.
Pinch-hitter David Newhan socked a two-run homer in the fifth to get the Mets within 4-to-3. It came off Ben Sheets, who is 3-and-2 after allowing just four hits in six innings.
Mike Pelfrey dropped to 0-and-5 in six starts this season, giving up four runs and eight hits in five innings.