*In the first season of A-Team there's this episode where Murdock is sitting on a bed that has buttons to press, and special effects shows up.
The others in the team, stands offside disussing how they're going to South America.
Murdock presses a button and the rest of the room goes dark, while a spotlight hits right on him with transporter noises. Murdock looks up and waves at the sky, "Beam me up Scotty"
*In Stargate Atlantis, McKay refers to Sheppard as Captain Kirk, because he always manage to hook up with the alien girls they meet.
*In....I think it was the Naked Police or Police Squad, one of the main characters turns to someone and barks "And why haven't you fixed it yet?"
The camera turns to a guy in a star trek uniform fixing the cappucino machine. "I'm running it all I can Captain"
*And in one episode of Chuck, they talk Klingon.