Lots of objects, one material?

I’ve searched but nothing came up. What I have is about 300 objects in my scene, and I want to select them all and apply one material to them. I tried clicking individual objects and applying materials, but that is obviously slow and painful… Thank you kindly

select them all, with one of them active

apply the material to that one

hit control+L, and choose “Material”

holy smokes Zero! Thanks man…