A special two-hour edition of NBC’s “The Voice” boosted the Peacock to a primetime victory in the 18-49 demo Tuesday, while CBS totaled the most total viewers.

According to preliminary nationals from Nielsen, “The Voice” (4.6 rating/12 share among adults 18-49, 12.1 million viewers overall) won every halfhour from 8-10 p.m. on a night in which millions found themselves without power as a consequence of Hurricane Sandy. “The Voice” had the same rating from 8-9 p.m. (4.3) as it did the week before.

NBC then sealed its winning performance for the night with special report “NBC News: Sandy’s Fury” (2.9/8, 8.3 million).

In second place in every halfhour on the night was CBS, which ran episodes of “NCIS” (3.4/9, 18.3 million), “NCIS: Los Angeles” (2.8/7, 16.1 million) and “Vegas” (1.7/4, 10.7 million).

ABC’s “Dancing With the Stars” (1.9/5, 11.8 million) was third in the 8 p.m. hour, ahead of Fox’s “Raising Hope” (1.7/5, 4.1 million) and “Ben & Kate” (1.4/4, 3.1 million) and the CW’s “Hart of Dixie” (0.6/2, 1.4 million). But Fox bounced back to take the bronze medal at 9 p.m. with “New Girl” (2.3/6, 4.8 million) and “The Mindy Project” (1.5/4, 3.2 million), which topped the Alphabet net’s “Happy Endings” (1.4/4, 4.7 million) and “Don’t Trust the B” (1.2/3, 3.4 million) and the CW’s “Emily Owens, M.D.” (0.3/1, 1.0 million).

News special “20/20: The Perfect Storm” (1.3/3, 4.8 million) rounded out ABC’s evening.

Preliminary 18-49 averages for the night: NBC 4.0/10, CBS 2.6/7, Fox 1.7/5, Univision 1.7/4, ABC 1.5/4, CW 0.5/1.

In total viewers: CBS 15.1 million, NBC 10.8 million, ABC 6.9 million, Fox 4.1 million, Univision 4.1 million, CW 1.2 million.