|Yes, that does work. |
One caveat here is that all your network devices are called
"local area connection"
if for some reason you've had a nic go bad or something else
and you have a machine with "local area connection 2" or
beyond, this will not implement on those nics.
However, beyond that it works very well. Obviously this is not a very managed approach to configuring a network, but it does exactly what is advertised. It takes dynamically assigned network values and converts them to static.
A very neat little script that does the job.