New Question

Revision history [back]

click to hide/show revision 1
initial version

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

  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 ?