Monday, November 20, 2023

Get Network Interface Card GUID in Windows

Get Network Interface Card GUID in Windows

Method 1 - using netsh
PS C:\> netsh lan show interfaces
Below shows sample output
There is 1 interface on the system:

    Name             : Ethernet
    Description      : Microsoft Hyper-V Network Adapter
    GUID             : 17ab0088-6ca5-4aac-82bb-c533700cda21
    Physical Address : 00-15-5D-1C-45-00
    State            : Connected. Network does not support authentication.
Method 2 - using PowerShell WMI
PS C:\> Get-CimInstance -ClassName Win32_NetworkAdapter | Select-Object -Property DeviceID, GUID, Name
Below shows sample output
DeviceID GUID                                   Name
-------- ----                                   ----
0                                               Microsoft Kernel Debug Network Adapter
1        {17AB0088-6CA5-4AAC-82BB-C533700CDA21} Microsoft Hyper-V Network Adapter
2                                               WAN Miniport (SSTP)
3                                               WAN Miniport (IKEv2)
4                                               WAN Miniport (L2TP)
5                                               WAN Miniport (PPTP)
6                                               WAN Miniport (PPPOE)
7                                               WAN Miniport (IP)
8                                               WAN Miniport (IPv6)
9                                               WAN Miniport (Network Monitor)

No comments:

Running QNX on emulated cortex-a15 using QEMU

Running QNX on emulated cortex-a15 using QEMU General information: - Host (for running QEMU) OS: Ubuntu 24.04.2 LTS - QEMU: QEMU emulator...