Start elevated Command Prompt.
Get NIC list and index number:
wmic nic get name, index
Enable NIC with index number: (eg: 7)
wmic path win32_networkadapter where index=7call enable
Disable NIC with index number: (eg: 7)
wmic path win32_networkadapter where index=7call disable
If you are using Hyper-V Core you can use the Hyper-V menu to display the index of the Hyper-V Management NICs. You can also use IPConfig /all on the command line to help identify NICs by IP address.
- 13 Users Found This Useful
Related Articles
.NET 4.0 in IIS7 on Windows 2008 R2
Windows 2008 R2 (all editions) are packaged with .NET 4.0 on the servers provisioned at CeraNet....
Resetting Administrator Password in Windows 2012
To reset the password on your Windows 2012 server, complete the following steps: Boot from the...
Fix Trust Relationship Between Computer and Primary Domain
Sometimes the trust relationship between a computer (physical server, VM, Hyper-V Host, etc) and...
Resetting Administrator Password in Windows 2012
To reset the password on your Windows 2012 server, complete the following steps: Boot from the...
Windows Driver Removal
Hidden drivers can exist in your Windows computer which can cause problems. You may be able to...
