Updated

Brandon Moss' two-run home run backed a strong outing from Dan Straily as the Oakland Athletics took a 2-1 win over the Pittsburgh Pirates in the second of three from PNC Park.

Straily (6-2) gave up just two hits, one of which was a solo home run from Pedro Alvarez, and walked three while striking out seven over 6 1/3 innings to win his fifth straight decision.

"He was terrific again," A's manager Bob Melvin said of Straily. "Mixing his pitches well, actually threw some curveballs today that he normally doesn't throw and just had them off balance."

John Jaso had a hit and scored on Moss' home run to lead the Athletics in their third straight win and 10th in their last 13 outings.

Oakland is now 11-0 all-time against Pittsburgh.

Gerrit Cole (4-2) had a strong start spoiled as he gave up five hits, including the two-run home run, with two walks and four strikeouts in seven innings to drop his second straight start.

Starling Marte and Jose Tabata each had a hit for the Pirates, who tied a season-high with their fourth straight loss.

"When you don't score runs everything is always magnified in the game of baseball," Pirates manager Clint Hurdle said of his team's recent struggles.

The start of the game was delayed by close to two hours due to rain storms in the area.

When the contest finally got underway, Oakland loaded the bases with two outs in the first, but Jaso struck out to end the threat.

In the second, Alvarez led off the frame with his 23rd homer of the year, a blast into the bushes in center field for a 1-0 lead.

Oakland finally got on top in the fourth to take the lead. With two outs, Jaso punched a doubled to left field and Moss followed with his 16th homer of the campaign for a 2-1 advantage.

In the seventh, Alvarez led off with a walk and moved to second on a sacrifice bunt from Russell Martin. Sean Doolittle, though, took over and recorded the next two outs to get out of the frame.

Ryan Cook pitched a 1-2-3 eighth inning, and Grant Balfour worked a scoreless ninth for his 24th save of the season.

Game Notes

Balfour has converted all of his save opportunities this season ... Tommy Milone pitches for Oakland in the finale on Wednesday, while Francisco Liriano will go for his fourth straight win for the Pirates.