Many Broadway stars have made the transition to TV recently, but for the majority of them, it didn't exactly work out.

At Sunday night's 2013 Tony Awards, Andrew Rannells of the now-canceled "New Normal," Megan Hilty of the long-suffering "Smash" and Laura Benanti of the late comedy "Go On" took the opportunity to poke fun at their efforts on the small screen.

The trio teamed up with Tonys host and "How I Met Your Mother" star Neil Patrick Harris to perform a musical number (above) lamenting the struggle of landing a gig on a network series and leaving the New York stage behind for LA.

Rannells kicked things off with "I Want To Be On A TV Show," a spoof of "West Side Story's" "America." Then Hilty appeared, parodying "Gypsy's" “You Gotta Have a Gimmick." After she sang, "You gotta have a series if you want a shot at fame," Tony-winner Benanti popped up, with a bottle of liquor in hand. "I'll drink to that!" she replied, before kicking off her take on “The Ladies Who Lunch" from "Company."

"Both my shows were canceled, it's true. No joke. Haha! Not one show, but two! And so I raise a bottle to you ... Television sucks!" sang Benanti, poking fun at her ill-fated Matthew Perry series and last year's "The Playboy Club," both of which were on NBC.

The Broadway alumni took a jab at "Smash's" Will Chase, who was nominated for "The Mystery of Edwin Drood," before Harris joked, "Doing TV has its pros and cons, right? But just like the theater -- sometimes you have a hit and sometimes you don't. We can't all have long-running hit TV shows like my own."

The quartet finished off the number with their take on "What I Did for Love” from "A Chorus Line" and received a rousing round of applause from the audience.

Loading Slideshow...
  • Neil Patrick Harris

    Host Neil Patrick Harris introduces the 67th Annual Tony Awards, on Sunday, June 9, 2013 in New York. (Photo by Evan Agostini/Invision/AP)

  • Neil Patrick Harris

    Actor Neil Patrick Harris performs on stage at the 67th Annual Tony Awards, on Sunday, June 9, 2013 in New York. (Photo by Evan Agostini/Invision/AP)

  • Neil Patrick Harris

    Actor Neil Patrick Harris performs on stage at the 67th Annual Tony Awards, on Sunday, June 9, 2013 in New York. (Photo by Evan Agostini/Invision/AP)

  • Neil Patrick Harris

    Actor Neil Patrick Harris performs on stage at the 67th Annual Tony Awards, on Sunday, June 9, 2013 in New York. (Photo by Evan Agostini/Invision/AP)

  • Neil Patrick Harris

    Actor Neil Patrick Harris performs on stage at the 67th Annual Tony Awards, on Sunday, June 9, 2013 in New York. (Photo by Evan Agostini/Invision/AP)

  • Neil Patrick Harris

    Actor Neil Patrick Harris performs on stage at the 67th Annual Tony Awards, on Sunday, June 9, 2013 in New York. (Photo by Evan Agostini/Invision/AP)

  • Neil Patrick Harris

    Actor Neil Patrick Harris performs on stage at the 67th Annual Tony Awards, on Sunday, June 9, 2013 in New York. (Photo by Evan Agostini/Invision/AP)

  • Neil Patrick Harris, Mike Tyson

    Actor Neil Patrick Harris, left, and Mike Tyson perform on stage at the 67th Annual Tony Awards, on Sunday, June 9, 2013 in New York. (Photo by Evan Agostini/Invision/AP)

  • Neil Patrick Harris

    Actor Neil Patrick Harris performs on stage at the opening of the 67th Annual Tony Awards, on Sunday, June 9, 2013 in New York. (Photo by Evan Agostini/Invision/AP)

  • Neil Patrick Harris, Mike Tyson

    Actor Neil Patrick Harris, left, and Mike Tyson perform on stage at the 67th Annual Tony Awards, on Sunday, June 9, 2013 in New York. (Photo by Evan Agostini/Invision/AP)

  • First Last

    The cast of "Matilda The Musical" performs at the 67th Annual Tony Awards, on Sunday, June 9, 2013 in New York. (Photo by Evan Agostini/Invision/AP)

  • Cyndi Lauper

    Tony Award nominee Cyndi Lauper arrives on the red carpet at the 67th Annual Tony Awards, on Sunday, June 9, 2013 in New York. (Photo by Charles Sykes/Invision/AP)

  • Alan Cumming

    CORRECTS ID TO ALAN CUMMING - Alan Cumming arrives on the red carpet at the 67th Annual Tony Awards, on Sunday, June 9, 2013 in New York. (Photo by Charles Sykes/Invision/AP)

  • Sally Field

    Sally Field arrives on the red carpet at the 67th Annual Tony Awards, on Sunday, June 9, 2013 in New York. (Photo by Charles Sykes/Invision/AP)

  • Cicely Tyson

    Tony Award nominee Cicely Tyson arrives on the red carpet at the 67th Annual Tony Awards, on Sunday, June 9, 2013 in New York. (Photo by Charles Sykes/Invision/AP)

  • This theater image released by Philip Rinaldi Publicity shows Sigourney Weaver, right, during a performance of "Vanya and Sonia and Masha and Spike," at the Mitzi E. Newhouse Theater in New York. The production won a Tony Award for best play on Sunday, June 9, 2013 in New York. (AP Photo/ Philip Rinaldi Publicity, T. Charles Erickson)

  • Harvey Fierstein

    Tony Award nominee Harvey Fierstein arrives on the red carpet at the 67th Annual Tony Awards, on Sunday, June 9, 2013 in New York. (Photo by Charles Sykes/Invision/AP)

  • Zachary Quinto, Audra McDonald

    Actor Zachary Quinto, left, and actress, Audra McDonald present the Best Performance by an actor in a featured role in a play award at the 67th Annual Tony Awards, on Sunday, June 9, 2013 in New York. (Photo by Evan Agostini/Invision/AP)

  • Jesse Tyler Ferguson, Jane Krakowski

    Jesse Tyler Ferguson, left, and Jane Krakowski, speak onstage at the 67th Annual Tony Awards, on Sunday, June 9, 2013 in New York. (Photo by Evan Agostini/Invision/AP)

  • Judith Light

    Judith Light poses with her award for best actress in a featured role in a play for "The Assembled Parties," in the press room at the 67th Annual Tony Awards, on Sunday, June 9, 2013 in New York. (Photo by Charles Sykes/Invision/AP)

  • Courtney, B. Vance

    Courtney B. Vance accepts the award for best featured actor in a play for "Lucky Guy" at the 67th Annual Tony Awards, on Sunday, June 9, 2013 in New York. (Photo by Evan Agostini/Invision/AP)

  • Casts of Broadway's "Bring it On" perform at the 67th Annual Tony Awards, on Sunday, June 9, 2013 in New York. (Photo by Evan Agostini/Invision/AP)

  • Judith Light, Tom Hanks

    Actor Tom Hanks presents the Best Performance by an Actress in a Featured Role in a Play award to actress Judith Light for "The Assembled Parties" at the 67th Annual Tony Awards, on Sunday, June 9, 2013 in New York. (Photo by Evan Agostini/Invision/AP)

  • Tom Hanks

    Actor Tom Hanks presents the Best Performance by an Actress in a Featured Role in a Play award at the 67th Annual Tony Awards, on Sunday, June 9, 2013 in New York. (Photo by Evan Agostini/Invision/AP)

  • Tom Hanks

    Actor Tom Hanks presents the Best Performance by an Actress in a Featured Role in a Play award at the 67th Annual Tony Awards, on Sunday, June 9, 2013 in New York. (Photo by Evan Agostini/Invision/AP)

  • Tom Hanks

    Actor Tom Hanks presents the Best Performance by an Actress in a Featured Role in a Play award at the 67th Annual Tony Awards, on Sunday, June 9, 2013 in New York. (Photo by Evan Agostini/Invision/AP)

  • Scarlett Johansson

    Scarlett Johansson arrives on the red carpet at the 67th Annual Tony Awards, on Sunday, June 9, 2013 in New York. (Photo by Charles Sykes/Invision/AP)

  • Krysta Rodriguez

    Krysta Rodriguez arrives on the red carpet at the 67th Annual Tony Awards, on Sunday, June 9, 2013 in New York. (Photo by Charles Sykes/Invision/AP)

  • Neil Patrick Harris, David Burtka

    Neil Patrick Harris, left, and David Burtka arrives on the red carpet at the 67th Annual Tony Awards, on Sunday, June 9, 2013 in New York. (Photo by Charles Sykes/Invision/AP)

  • Jesse Tyler Ferguson

    Jesse Tyler Ferguson arrives on the red carpet at the 67th Annual Tony Awards, on Sunday, June 9, 2013 in New York. (Photo by Charles Sykes/Invision/AP)

  • Sigourney Weaver

    Sigourney Weaver arrives on the red carpet at the 67th Annual Tony Awards, on Sunday, June 9, 2013 in New York. (Photo by Charles Sykes/Invision/AP)

  • Zachary Quinto

    Zachary Quinto arrives on the red carpet at the 67th Annual Tony Awards, on Sunday, June 9, 2013 in New York. (Photo by Charles Sykes/Invision/AP)

  • Tom Hanks, Rita Wilson

    Tom Hanks and Rita Wilson arrives on the red carpet at the 67th Annual Tony Awards, on Sunday, June 9, 2013 in New York. (Photo by Charles Sykes/Invision/AP)

  • Jane Lynch

    Jane Lynch arrives on the red carpet at the 67th Annual Tony Awards, on Sunday, June 9, 2013 in New York. (Photo by Charles Sykes/Invision/AP)

  • Zachary Levi

    Zachary Levi arrives on the red carpet at the 67th Annual Tony Awards, on Sunday, June 9, 2013 in New York. (Photo by Charles Sykes/Invision/AP)

  • Tom Hanks, Rita Wilson

    Tom Hanks and Rita Wilson arrives on the red carpet at the 67th Annual Tony Awards, on Sunday, June 9, 2013 in New York. (Photo by Charles Sykes/Invision/AP)

  • Judith Light

    FILE - In this April 16, 2012 file photo released by Point Foundation, actress Judith Light arrives at the Point Foundation Honors New York Gala in New York. Light won a Tony Award on Sunday, June 9, 2013 for best featured actress in a play for her role in “The Assembled Parties.” (AP Photo/Point Honors New York, Brian Ach, file)

  • Jake Gyllenhaal

    Jake Gyllenhaal arrives to the 67th Annual Tony Awards, on Sunday, June 9, 2013 in New York. (Photo by Charles Sykes/Invision/AP)

  • The 67th Annual Tony Awards - Show

    NEW YORK, NY - JUNE 09: The cast of 'Matilda The Musical' performs onstage at The 67th Annual Tony Awards at Radio City Music Hall on June 9, 2013 in New York City. (Photo by Andrew H. Walker/Getty Images for Tony Awards Productions)

  • The 67th Annual Tony Awards - Show

    NEW YORK, NY - JUNE 09: The cast of 'Cinderella' performs onstage at The 67th Annual Tony Awards at Radio City Music Hall on June 9, 2013 in New York City. (Photo by Andrew H. Walker/Getty Images for Tony Awards Productions)

  • The 67th Annual Tony Awards - Show

    NEW YORK, NY - JUNE 09: (L-R) Laura Benanti, Andrew Rannells, Megan Hilty, and Neil Patrick Harris perform onstage at The 67th Annual Tony Awards at Radio City Music Hall on June 9, 2013 in New York City. (Photo by Andrew H. Walker/Getty Images for Tony Awards Productions)

  • The 67th Annual Tony Awards - Show

    NEW YORK, NY - JUNE 09: The cast of 'Bring It On: The Musical' performs onstage at The 67th Annual Tony Awards at Radio City Music Hall on June 9, 2013 in New York City. (Photo by Andrew H. Walker/Getty Images for Tony Awards Productions)

  • The 67th Annual Tony Awards - Show

    NEW YORK, NY - JUNE 09: Host Neil Patrick Harris performs onstage at The 67th Annual Tony Awards at Radio City Music Hall on June 9, 2013 in New York City. (Photo by Andrew H. Walker/Getty Images for Tony Awards Productions)

  • The 67th Annual Tony Awards - Show

    NEW YORK, NY - JUNE 09: Host Neil Patrick Harris performs onstage at The 67th Annual Tony Awards at Radio City Music Hall on June 9, 2013 in New York City. (Photo by Andrew H. Walker/Getty Images for Tony Awards Productions)

  • The 67th Annual Tony Awards - Show

    NEW YORK, NY - JUNE 09: Andrew Rannells (L) and Host Neil Patrick Harris perform onstage at The 67th Annual Tony Awards at Radio City Music Hall on June 9, 2013 in New York City. (Photo by Andrew H. Walker/Getty Images for Tony Awards Productions)