Jimmy Nelson's personal surge continued on Friday night.

The big right-hander threw seven shutout innings and got just enough offense behind him to lead the Milwaukee Brewers to a 2-1 victory over the Arizona Diamondbacks at Chase Field.

Nelson allowed five hits and three walks while striking out five to win for the fifth time in six starts and improve to 8-9.

With Mike Fiers and Taylor Jungmann also pitching well, and Wily Peralta poised to come off the disabled list sometime in the near future, the Brewers have to like what they've been seeing from their young starters of late.

"I think he's in a pretty good groove," Counsell said of Nelson. "He got himself into a little trouble in the first inning, but he also did a great job of getting himself out of trouble in the first inning. And after that he was just really good the rest of the way.

"He's been pretty good for a while now. He's put together a pretty good run of quality starts here."

Ryan Braun put the Brewers ahead with a solo home run to lead off the sixth inning, his second round-tripper in as many nights.

Braun swung at Corbin's first offering, a 92-mph fastball, and deposited it into the stands in right to break up a scoreless tie.

"You try to be prepared for every pitch," said Braun. "Sometimes it's the first pitch of an at-bat that's the best pitch to hit; sometimes it might be the fifth or sixth. But a guy of that caliber, as good as he is, I don't think you have the luxury of giving him strikes, so I always try to be prepared for everything.

The homer was Braun's 18th of the season. He hit a career-low 19 all of last season while dealing with his troublesome right thumb.

Milwaukee picked up what proved to be a huge insurance run in the ninth.

Gerardo Parra collected a pinch-hit single, moved to second on a Hernan Perez bunt and then to third on a groundout by Scooter Gennett before scoring on a wild pitch by Brad Ziegler.

"Those add-on runs always give Frankie a little bit of room for error," Counsell said.

The Diamondbacks made things interesting in the bottom of the ninth against Francisco Rodriguez.

Chris Owings led off with a triple to right-center. After Jake Lamb struck out, Owings tagged and scored on a fly ball to center from Nick Ahmed. Pinch-hitter Welington Castillo then hit a tough one-hopper to Jean Segura, who picked it and threw over to first to seal the victory.

"Somebody squared up a ball against him. I know it's kind of a news story," quipped Counsell. "He pitched a good inning. He did his job."

Rodriguez has converted 22 of 22 save opportunities this season and 27 straight dating to last season.

The first inning has been a tough one for Nelson to navigate, and that trend continued, as Ender Inciarte doubled to lead off and after an A.J. Pollock strikeout Paul Goldschmidt drew a nine-pitch walk.

Nelson didn't cave, though. He recovered to strike out David Peralta and Owings, keeping the Diamondbacks off the board.