New Question

Revision history [back]

click to hide/show revision 1
initial version

Set VLAN for physical network adapter in Windows

I have tried setting VLAN for a net-adapter in Windows Server 2012.

If the adapter is Intel, it says not supported. Set-NetAdapter "Ethernet 2" -vlanid 1200

Output: Set-NetAdapter : Requested operation not supported on adapter 'Ethernet 2'

Incase, if this command works fine, how to bypass the execution prompt for this command. I tried using -confirm:$True, -Force parameters, its not working.

ERROR: Set-NetAdapter : A parameter cannot be found that matches parameter name 'Force'