BOSTON -- Bruce Cassidy won his second straight game as Boston Bruins coach when they defeated the Vancouver Canucks 4-3 at TD Garden on Saturday.
David Pastrnak scored the game-winning goal with 2:00 left after Markus Granlund tied it 3-3 with 5:37 remaining.
"They tied it, they didn't get the go-ahead goal," Pastrnak said. "So the win was still 50-50 and it's great we didn't sit back and we went after it. We had a couple good shifts after the goal and then it went for us and it was great."
WATCH: All Canucks vs. Bruins highlights
Frank Vatrano tied his NHL high with three points (one goal, two assists), and Kevan Miller and Colin Miller scored for the Bruins (28-23-6). Boston lost two in a row before winning the past two games under Cassidy, who replaced Claude Julien after he was fired Tuesday. The Bruins defeated the San Jose Sharks 6-3 in Cassidy's debut Thursday.
Anton Khudobin made 29 saves and improved to 2-5-1 in his first start for Boston since Dec. 23. Khudobin's last win was a 2-1 shootout against the Carolina Hurricanes on Dec. 1, and this was the first regulation win by a Bruins goaltender other than Tuukka Rask.
"Let's be funny and sarcastic. Hopefully I'm going to get the third win earlier than the second," Khudobin said.
Bo Horvat and Alexandre Burrows scored, and Ryan Miller made 26 saves for the Canucks (24-25-6), who are 1-2-0 to start a six-game road trip.
Video: VAN@BOS: Horvat pots one for 100th NHL point
"Yeah that's frustrating for sure," Canucks captain Henrik Sedin said. "We're in the battle for a playoff spot and to get one in here and have a chance to get two would have been big for us, but [Pastrnak] made a nice play down there to score that goal and ... not much you can do."
Horvat scored on a rebound at 4:56 of the first period to give the Canucks a 1-0 lead. The Bruins tied it 1-1 when Kevan Miller joined the rush and scored at 13:33 after a cross-ice pass from Ryan Spooner. Vatrano's power-play goal gave the Bruins a 2-1 lead with 38 seconds remaining in the period.
Burrows banked a backhand shot from the right side of the slot off Khudobin during a scramble around the net to tie it 2-2 with 0.6 seconds left in the second period.
Colin Miller's goal gave the Bruins a 3-2 lead 2:12 into the third period.
Goal of the game
Jimmy Hayes withstood a hip check along the boards from 6-foot-7 Vancouver defenseman Nikita Tryamkin and slid the puck back to the right point for Colin Miller's one-timer that got past goalie Ryan Miller.
Video: VAN@BOS: C. Miller blasts a one-timer far side
Saves of the game
Khudobin knocked down Burrows' tip and then denied Horvat on the rebound with his right pad at 19:35 of the second period.
Video: VAN@BOS: Khudobin stands firm in traffic
Highlight of the game
David Krejci got the puck to Pastrnak in stride at the Vancouver blue and he took it wide. Pastrnak made a move around Christopher Tanev to the middle for a wrist shot from the left dot.
Video: VAN@BOS: 'Pasta' nets 100th NHL point on clutch goal
Unsung performance of the game
Hayes got the primary assist on Colin Miller's goal, but he also deserved credit for forcing Canucks defenseman Ben Hutton into the giveaway leading up to that score. Hayes didn't factor on the score sheet when Kevan Miller scored, but his net drive diverted the attention of the Canucks. Hayes played the least amount of ice time (8:18) for the Bruins.
Video: VAN@BOS: K. Miller labels one far side on the attack
They said it
"I played three years here, a lot of good memories from those three years. Definitely would have felt better with a win here. They came back with the last goal here, that was pretty tough for us to see coming. I thought we battled hard enough to win." -- Canucks forward Loui Eriksson, who played his first game against the Bruins since signing with Vancouver as an unrestricted free agent July 1
"We almost needed to get scored on because we became disrespectful to the game, I thought. We weren't managing pucks, we were circling, not making easy plays. So you sort of, if you win, you hope you learn some of those lessons throughout the course of the game and hope you don't learn too hard of a lesson that it costs you a game." -- Bruins coach Bruce Cassidy about giving up the tying goal late and being outshot 15-3 in the second period
Need to know
Pastrnak has five goals and four assists during a four-game point streak, and his goal was the 100th point of his NHL career. ... Horvat's goal was his 100th NHL point. ... Forward Peter Cehlarik became the ninth Bruins player to make his NHL debut this season.
Canucks: At the Buffalo Sabres on Sunday (7:30 p.m. ET; MSG-B, SNP, NHL.TV)
Bruins: Host the Montreal Canadiens on Sunday (7:30 p.m. ET; NBCSN, SN, RDS, NHL.TV)
Video: Pastrnak bags late GWG to send Bruins past Canucks