Restarts a network adapter by disabling and then re-enabling the network adapter.
Open PowerShell on Windows, after that find the name of the interface to be restarted. Use the following command line:
netsh interface show interface
Restart network adapter using the following command line:
Restart-NetAdapter -Name "Ethernet x"