Star Trek: The Next Generation/Recap/S1 E20 The Arsenal of Freedom

Trapped on the surface of an abandoned planet, an away team becomes unwitting participants in the demonstration of an advanced weapons system.