in a Christmas episode of Ally McBeal as a man fired for seeing a unicorn. On a 2003 episode of Law & Order: Criminal Intent, he guested as an insurance investigator named Wally Stevens who displays strong Asperger's Syndrome traits. He gets a degree of empathy from Det. Robert Goren and a number of behind-his-back snickers from Goren's partner Alexandra Eames. His character made a return cameo appearance in the season 6 episode "Endgame", where it was revealed Goren has kept in touch with the character through correspondence. In season 2, episode 14 ("Probability"), the last line spoken by Eames is "I'm sure he'd like a pen pal." Linn-Baker provided the voice for one of a quartet of aardvarks in the 2002 Sandra Boynton album Philadelphia Chickens. The other three were voiced by Joe Grifasi, Michael Gross, and Devin McEwan. He joined his friend, fellow Yale Drama School graduate and former sidekick Lewis Black, on the audiobook version of Black's second book Me of Little Faith where he and Black recreate The Laundry Hour, an act they did in New York City in the early 1980s. He guest-stars in several episodes of the children's TV show The Electric Company in February–March 2009 as "Uncle Sigmund Scrambler". In 2009, he appeared in an episode of the U.S. version of Life on Mars, playing a character who collected women's underwear that he later used for masturbation. In 2010, he appeared in an episode of Law & Order, "The Taxman Cometh", as Dr. Vincent Balicheck, a physician who used controversial therapies on cancer patients which resulted in their deaths. Linn-Baker and Perfect Strangers are referenced in the HBO TV series The Leftovers, which takes place after a fictional global event called the Sudden Departure, the inexplicable, simultaneous disappearance of 140 million people, 2% of the world's population. Within the show, the entire cast of Perfect Strangers has departed, except for Linn-Baker, who has faked his own departure and escaped to Mexico. Linn-Baker appears, as a fictional version of himself, in the episodes "Axis Mundi" and "Don't Be Ridiculous." In 2009, he had a recurring guest-starring role in the revival of The Electric Company, and in 2017, he started a recurring role on the CBS drama Blue Bloods as Deputy NYC mayor Carlton Miller. In 2019, he appeared as Josh's father Dave in the Unbreakable Kimmy Schmidt episode "Kimmy is in a Love Square!"