Star Trek: The Original Series
The Doomsday Machine
S2 E6:
Only the Enterprise and the battered Constellation stand between an ancient weapon and devastation; guest William Windom.
Starring
William Windom, Elizabeth Rogers, Bill Blackburn