SAN JOSE, Calif. -- Antti Niemi was perfect for a second straight night, and it added up to a franchise-first for the Sharks.
San Jose's goalie stopped 27 shots one night after shutting out Anaheim as the Sharks beat the Detroit Red Wings 2-0 in front of a sold-out HP Pavilion on Thursday night. Niemi became the first Sharks' goalie to post shutouts on consecutive nights.
"When we had little mistakes he bailed us out," teammate Joe Pavelski said of Niemi.
The Sharks have opened a critical seven-game homestand with consecutive victories and won three straight overall. Detroit saw its five-game road winning streak end.
"We're definitely on the right track. We're all pulling in the same direction," Detroit defenseman Niklas Kronwall said. "Guys are coming together as a group and building more chemistry as we go along here."
San Jose scored late in the first period and early in the third to support their suddenly hot netminder, who has three shutouts this season and 22 for his career.
Sharks captain Joe Thornton picked off a pass by Detroit rookie defenseman Brian Lashoff and fed Brent Burns, who deposited his fifth goal of the season over the left shoulder of Red Wings goalie Jimmy Howard 2:07 into the third period to make it 2-0.
"Not too many chances for either club," Thornton said. "Two lucky bounces off skates and they end up in the back of the net."
The first penalty of the game didn't come until 10:44 left in the third period when San Jose forward T.J. Galiardi was whistled. But Detroit did little with the five-on-four, putting two shots on goal and icing the puck once.
"We didn't have enough energy tonight to generate anything in the third," Kronwall said.
Much like the opening 20 minutes, the second period was fast-paced and penalty-free. Detroit outshot the hosts 9-7 in the scoreless period.
The Sharks scored the only goal in the first period as Pavelski received a fortuitous bounce to collect his 10th of the season. Working from behind the Detroit goal, Pavelski pushed the puck out front and it bounced first off the stick of Kronwall and then off of the defender's left skate past Howard with just 1:01 remaining in the period.
"We always know it's tight against them. They play the middle of the ice really well," Pavelski said. "There's not much ice out there against a lot of teams. We did a good job down low, cycling, and getting pucks to the net."
Detroit held a slight 7-6 edge in shots in the first period, even though it didn't take its first shot until 7:06 elapsed.
"We wanted to get out there and bring a lot of energy," Kronwall said. "Felt like in the first it wasn't going one way or another -- a lot of neutral-zone play."
The Red Wings lost forward Johan Franzen late in the second period to a lower-body injury.
NOTES: The Sharks extended a streak of either leading or being tied at the first intermission to all 15 home games this season after Pavelski's goal late in the first period. ... Forwards Adam Burish and Michal Handzus were San Jose's healthy scratches. Defensemen Kent Huskins, Carlo Colaiacovo and forward Patrick Eaves did not dress for Detroit. ... The Red Wings return home for a two-game homestand that starts Sunday against the Chicago Blackhawks. ... San Jose's pivotal seven-game homestand continues with a visit by the Phoenix Coyotes on Saturday. The Vancouver Canucks, Minnesota Wild, Calgary Flames and Dallas Stars follow with visits every other night. ... With the April 3 trade deadline looming, scouts from 10 teams had seats in the press box. They included the Philadelphia Flyers, Montreal Canadiens, Boston Bruins, Toronto Maple Leafs, Blackhawks, Pittsburgh Penguins, Ottawa Senators, Edmonton Oilers, Winnipeg Jets and New York Islanders.