Reset a network connection by name?
Two methods to reset (disable & enable) a network adapter.
Using wmic
wmic nic get name, index (to find the index - 2)
wmic path win32_networkadapter where index=2 call disable
wmic path win32_networkadapter where index=2 call enable
Using netsh
netsh interface show interface (to find the name - Ethernet 2)
netsh interface set interface "Ethernet 2" disable
netsh interface set interface "Ethernet 2" enable
You could also try to run the following command in PowerShell:
Run Get-Netadapter to show all the network adapter of your device.
Then select the adapter you need disable, and please run Disable-Netadapter -Name "xxxxxx"
For more details, please refer to the following article:
Disable-NetAdapter