Changing Lightmap resolution for multiple objects?

I would like to change the Lightmap resolution for hundreds of objects.
Is there a bulk options or something similar?

How to do that?

thanks a lot for any help!
appreciate it!