Updated

Pinch-hitter Jason Michaels connected for a grand slam in the seventh inning and the Houston Astros beat the Milwaukee Brewers 5-2 on Sunday to complete the three-game sweep.

The Astros trailed 2-0 before Michaels' drive to the first row of the Crawford Boxes in left field. It was his seventh homer of the season.

Houston has won five straight games while Milwaukee has dropped its last five.

Brewers starter Randy Wolf was cruising before he was hit on his left wrist by Hunter Pence's single with none out in the seventh, forcing the left-hander out of the game. He was replaced by Kameron Loe (1-2), who walked Carlos Lee and Chris Johnson to load the bases before Zach Braddock took over.

That set up Michaels' second career pinch-hit grand slam.

Wesley Wright (1-1) pitched seven innings for Houston, yielding two runs and four hits. Wilton Lopez worked the eighth before Brandon Lyon tossed a perfect ninth for his second save.

Wolf allowed one run and six hits. There was no immediate update on his injury.

Houston stretched the lead to 5-2 in the eighth inning when Hunter Pence tripled and scored on an error by second baseman Rickie Weeks. Weeks overthrew third by so much that the ball bounced into the stands behind Milwaukee's dugout.

Corey Hart put the Brewers on top with a two-run homer in the sixth inning. It was his 23rd of the season.

Hart's drive broke a string of 31 straight scoreless innings by Houston's pitching staff. The Astros' streak was tied for second-longest in the majors this season and was the longest such streak by Houston since 1997.

Milwaukee put runners on first and second after Hart's two-out drive, but Wright retired Casey McGehee on a fielder's choice to limit the damage.

Wright didn't allow a hit until Ryan Braun singled to start the fifth inning. He responded by retired the next three batters.

Houston's Brett Wallace got a standing ovation after he singled in the fifth for his first major league hit. It was his second game in the majors after taking over at first base for Lance Berkman, who was traded to the Yankees on Saturday.

NOTES: The Astros signed RHP Brett Myers to a multiyear contract extension before the game. ... Houston RHP Brian Moehler, who experienced tightness in his strained right hamstring while throwing a simulated game July 23, threw a side session on Sunday. If he feels OK after that, he'll throw a simulated game on Wednesday in St. Louis.