I don't know if it was written during a strike. It was submitted speculatively and produced during a strike.
> It was written as a speculative script by former attorney and Star Trek: The Original Series novelist Melinda M. Snodgrass.
> The script was accepted due to the impact of the 1988 Writers Guild of America strike, and resulted in Snodgrass being recruited as a staff writer and script editor. She would remain on the staff until the end of the third season.
https://en.wikipedia.org/wiki/The_Measure_of_a_Man_(Star_Tre...