Le Kommand:

Get-NetAdapter|select Name,VlanID

Sample Outputs

PS C:\Windows\system32> Get-NetAdapter|select Name,VlanID

Name VlanID
---- ------
Ethernet 1 0
PS C:\Windows\system32> Get-NetAdapter|select Name,VlanID

Name VlanID
---- ------
Ethernet 2
Ethernet
vEthernet (Default Switch)
Ethernet0
Ethernet 3
Local Area Connection