Hi ,
the following script Change DNS setting from "obtain manually" to "obtain automatically"
Since the network connectivity changes the machine will go offline if it is connected to any network.
we are also unable to get network logs if running by any ITSM.