jueves, 31 de mayo de 2018

Activar/Desactivar NIC

Get NIC list and index number:
wmic nic get name, index

Enable NIC with index number: (eg: 7)
wmic path win32_networkadapter where index=7 call enable

Disable NIC with index number: (eg: 7)
wmic path win32_networkadapter where index=7 call disable

fuente

No hay comentarios.:

Publicar un comentario