I'm a Unix guy and I need help writing a script on Windows 10 that will do the following.
- sleep 60 seconds
- disable Ethernet1
- sleep 5 seconds
- enable Ethernet1
I don't know where to begin in Windows.
I'm a Unix guy and I need help writing a script on Windows 10 that will do the following.
I don't know where to begin in Windows.
I figured it out.
timeout /t 60
netsh interface set interface "Ethernet0" DISABLED
timeout /t 5
netsh interface set interface "Ethernet0" ENABLED
timeout /t 60