As current versions of Windows 10 no longer have integrated vLAN configuration, we moved to install Intel ProSet to configure our vLANs. This works relatively well in the GUI, but we have issues using powershell to manage the interfaces. Once the vLANs are configured, Get-NetAdapter no longed works:
PS C:\WINDOWS\system32> Get-NetAdapter
Name InterfaceDescription ifIndex Status MacAddress LinkSpeed
---- -------------------- ------- ------ ---------- ---------
Ethernet 3 Fortinet SSL VPN Virtual Ethernet Ad... 26 Not Present 00-09-0F-AA-00-01 0 bps
Ethernet 2 Fortinet Virtual Ethernet Adapter (N... 24 Disconnected 00-09-0F-FE-00-01 100 Mbps
Ethernet Intel(R) 82579LM Gigabit Network Con... 14 Disconnected 3C-97-0E-A7-97-B1 0 bps
Wi-Fi Intel(R) Centrino(R) Advanced-N 6205 22 Up 6C-88-14-A0-21-D4 240 Mbps
vEthernet (WSL) Hyper-V Virtual Ethernet Adapter #2 55 Up 00-15-5D-48-9C-CB 10 Gbps
VMware Network Adapte...8 VMware Virtual Ethernet Adapter for ... 18 Up 00-50-56-C0-00-08 100 Mbps
VMware Network Adapte...1 VMware Virtual Ethernet Adapter for ... 16 Up 00-50-56-C0-00-01 100 Mbps
Bluetooth Network Con...3 Bluetooth Device (Personal Area Ne...#3 10 Disconnected B8-76-3F-AE-34-17 3 Mbps
vEthernet (Default Swi... Hyper-V Virtual Ethernet Adapter 48 Up 00-15-5D-AD-10-A6 10 Gbps
Local Area Connection 2 TAP-ProtonVPN Windows Adapter V9 5 Disconnected 00-FF-10-C8-AD-3F 1 Gbps
Local Area Connection PPPoP WAN Adapter 2 Disconnected 00-00-00-00-00-00 0 bps
PS C:\WINDOWS\system32> Import-Module -Name "C:\Program Files\Intel\Wired Networking\IntelNetCmdlets\IntelNetCmdlets" -Scope Local
PS C:\WINDOWS\system32> Add-IntelNetVLAN -ParentName "Intel(R) 82579LM Gigabit Network Connection" -VLANID 111
VLANID VLANName ParentName
------ -------- ----------
111 VLAN111 Intel(R) 82579LM Gigabit Network Connection
PS C:\WINDOWS\system32> Get-NetAdapter
Get-NetAdapter : The data is invalid.
At line:1 char:1
+ Get-NetAdapter
+ ~~~~~~~~~~~~~~
+ CategoryInfo : InvalidData: (MSFT_NetAdapter:ROOT/StandardCimv2/MSFT_NetAdapter) [Get-NetAdapter], CimException
+ FullyQualifiedErrorId : Windows System Error 13,Get-NetAdapter
PS C:\WINDOWS\system32>
Once the vLAN is removed, functionality is restored
PS C:\WINDOWS\system32> Remove-IntelNetVLAN -ParentName "Intel(R) 82579LM Gigabit Network Connection" -VLANID 111
PS C:\WINDOWS\system32> Get-NetAdapter
Name InterfaceDescription ifIndex Status MacAddress LinkSpeed
---- -------------------- ------- ------ ---------- ---------
Ethernet 3 Fortinet SSL VPN Virtual Ethernet Ad... 26 Not Present 00-09-0F-AA-00-01 0 bps
Ethernet 2 Fortinet Virtual Ethernet Adapter (N... 24 Disconnected 00-09-0F-FE-00-01 100 Mbps
Ethernet Intel(R) 82579LM Gigabit Network Con... 14 Disconnected 3C-97-0E-A7-97-B1 0 bps
Wi-Fi Intel(R) Centrino(R) Advanced-N 6205 22 Up 6C-88-14-A0-21-D4 216 Mbps
vEthernet (WSL) Hyper-V Virtual Ethernet Adapter #2 55 Up 00-15-5D-48-9C-CB 10 Gbps
VMware Network Adapte...8 VMware Virtual Ethernet Adapter for ... 18 Up 00-50-56-C0-00-08 100 Mbps
VMware Network Adapte...1 VMware Virtual Ethernet Adapter for ... 16 Up 00-50-56-C0-00-01 100 Mbps
Bluetooth Network Con...3 Bluetooth Device (Personal Area Ne...#3 10 Disconnected B8-76-3F-AE-34-17 3 Mbps
vEthernet (Default Swi... Hyper-V Virtual Ethernet Adapter 48 Up 00-15-5D-AD-10-A6 10 Gbps
Local Area Connection 2 TAP-ProtonVPN Windows Adapter V9 5 Disconnected 00-FF-10-C8-AD-3F 1 Gbps
Local Area Connection PPPoP WAN Adapter
This is not related to the ProSet powershell modules, as this happens if if they are not loaded, and does not seem to be related to the vendors, as this happens in Dell and Lenovo machines alike.
It seems that is asked in Intel forums as well, but with no clear answer.
Any ideas?