BALTIMORE — The Baltimore Orioles long ago established their identity as a team built for power.

It’s already gotten them into position to reach the postseason, and now they intend to flex their muscles and hit home runs all the way into October.

Mark Trumbo hit his major league-leading 41st homer to cap a six-run second inning, and the Orioles peppered the New York Yankees with four long balls in an 8-0 victory Friday night.

Pedro Alvarez and Chris Davis hit two-run homers in the second inning and Manny Machado added a two-run shot in the fourth. Baltimore leads the majors with 213 home runs, including 117 at home.

“I’ve got a really good seat and I don’t ever take it for granted, the things that they do against the best pitchers in the world,” manager Buck Showalter said. “It’s not like they’re sneaking up on anybody, either. It’s just been a consistent threat we’ve had all year.”

Let the other guys rely on speed or bunts or the hit-and-run. The Orioles are taking aim at the fences with no apologies.

“It’s who we are, and that’s OK,” Showalter said.

When Alvarez went deep, the Orioles became the 19th team in big league history to have six players hit at least 20 in the same season. Alvarez joins Trumbo, Machado (33), Davis (33), Adam Jones (24) and Jonathan Schoop (21).

“Well, when you’ve got six guys in your lineup that have hit 20 home runs — and one of them (Alvarez) is a platoon player — you know that there’s a lot of power,” Yankees manager Joe Girardi said. “We weren’t able to keep the ball in the ballpark, and it’s how this club is extremely dangerous.”

Dylan Bundy (8-5) allowed two hits and four walks over 5 2/3 innings. In his previous start, the right-hander took the loss Saturday at Yankee Stadium after giving up five runs and seven hits in four innings.

It was only the third win in eight games for the Orioles, who started the day tied with Detroit for the second AL wild-card slot.

New York finished with only two hits and fell 3 1/2 games behind Baltimore. The Yankees came to town with a streak of four straight series wins.

Rookie Chad Green (2-4) yielded four runs and five hits in 1 2/3 innings before leaving with right elbow pain.

“Obviously he needs to have an MRI on his right elbow,” Girardi said. “That will take place (Saturday) and we’ll have a better idea.”

After leaving the bases loaded in the first inning, the Orioles batted around in the second. Jones singled in a run before Alvarez launched a drive that landed on Eutaw Street beyond the 25-foot scoreboard in right field. Green left after walking Machado, and Davis greeted Nick Goody with a home run.

Trumbo followed by going deep on an 0-2 pitch, the 17th time this season the Orioles have hit back-to-back home runs.

“Pitchers really have to pick and choose who they want to go after,” Trumbo said. “If we have some depth in the lineup — which we definitely do — that can make for a pretty tough time for the opposition if we’re going well.”

Two innings later, Machado connected off Kirby Yates for an 8-0 lead.

WELCOME ABOARD

Yankees: New York recalled several players from its minor league system, including Goody and RHP Jonathan Holder, who threw a scoreless inning in his major league debut.

Orioles: Obtained in separate transactions Wednesday, OFs Michael Bourn and Drew Stubbs made their debut with the Orioles as defensive replacements. … The Orioles recalled RHP Tyler Wilson, LHP Jayson Aquino and C Caleb Joseph from Triple-A Norfolk.

TRAINER’S ROOM

Yankees: OF Aaron Hicks had an MRI on his right hamstring, and the news was not favorable. “He’s a guy that’s going to be out for a while,” Girardi said. The injury occurred Wednesday night.

Orioles: RHP Chris Tillman (right shoulder bursitis) has been penciled in to return Sept. 11 in Detroit. … RHP Darren O’Day (rotator cuff strain) will throw off a half mound Sunday. … Jones returned to action after missing a week with a strained left hamstring.

UP NEXT

Yankees: CC Sabathia (8-11, 4.31 ERA) vies for his 20th career win against the Orioles on Saturday night. He’s 19-9 vs. Baltimore but 1-2 this season, including a loss last Sunday.

Orioles: Kevin Gausman (6-10, 3.73) seeks to win his fourth straight start, a streak that includes a 5-0 victory over Yankees on Sunday in which he struck out nine in seven innings.