Boston Bruins, from left, David Pastrnak, Brad Marchand, Austin Czarnik, John-Michael Liles, and Matt Beleskey, celebrate the goal by Marchand during the second period of an NHL hockey game against the Buffalo Sabres in Boston, Monday, Nov. 7, 2016. (AP Photo/Michael Dwyer)
Boston Bruins, from left, David Pastrnak, Brad Marchand, Austin Czarnik, John-Michael Liles, and Matt Beleskey, celebrate the goal by Marchand during the second period of an NHL hockey game against the Buffalo Sabres in Boston, Monday, Nov. 7, 2016. (AP Photo/Michael Dwyer) Credit: Michael Dwyer

BOSTON — Tuukka Rask rebounded from his first loss with 32 saves for his second shutout, Brad Marchand and David Krejci scored power-play goals in the second period, and the Boston Bruins beat the Buffalo Sabres 4-0 on Monday night.

David Pastrnak had a power-play goal and Riley Nash scored for the Bruins, who won for the fourth time in five games. Rask recorded his 32nd career shutout after losing 5-2 against the New York Rangers on Saturday. He improved to 7-1 this season.

Robin Lehner made 38 saves for Buffalo.

The Bruins moved ahead on Marchand’s goal 5:44 into the second period. Matt Beleskey got the rebound from the edge of the crease and passed it to Marchand, who fired a wrister that hit off Lehner’s mask and top of his stick before going into the net.

Skating with a two-man, power-play advantage midway into the period, Boston increased its lead when Krejci one-timed a shot from the top of the left circle that slipped inside the left post for his first goal of the season.

Zemgus Girgensons was in the penalty box after getting a double-minor for high-sticking Beleskey, and defenseman Jake McCabe joined him for tripping and added to the Sabres’ trouble after getting a two-minute misconduct for banging the glass on his way into the box.