Disable/Enable network adapter

Several users keep getting disconnected from RDP. Temp fix is to unplug network cable wait several seconds, plug back in and all is good. Want to run a script overnight that searches for disabled adapters and re-enable them. I saw some jobs that detect disabled LAN adapters and auto enable wireless adapters but that will not work well for this situation

You can leverage the network and/or network interface relevance inspectors to gleen these details. An example of network relevance can be found on BigFix.me.

I’m a newbie and cant find it