How to retreive VLAN assigned on a physical adapter from powershell command

asked 2016-04-15 19:37:34 +0300

shiva-m gravatar image
  1. Is there any powershell command to retreive VLAN configured on a physical interface ?

  2. We can assign VLAN from the UI for some physical adapters, where as setting VLAN from the following powershell command will fail, saying that "Requested operation not supported on adapter Ethernet".

Set-NetAdapter -InterfaceAlias "Ethernet" -VlanID 1200 Why is this weird behaviour ?

edit retag flag offensive close merge delete