Set-NetAdapter –Name "Ethernet Adapter Name" -VlanID XXX where "Ethernet Adapter Name" is the name of your ethernet adapter and xxx is the VLAN ID number in this case 99
If your ethernet adapter supports VLANS you will get asked to apply the vlan to the ethernet adapter much like the image below
If your ethernet adapter supports VLANS you will get asked to apply the vlan to the ethernet adapter much like the image below
Otherwise you will get an error like this
If your successful then you can get DHCP if it is enabled on the network or make changes to your IP address with what ever you need. As you can see below I have a .97.83 address from a DHCP server on VlanID 99
I had 2 different laptops I tested this with a Lenovo Y580 with a Qualcomm Atheros AR8161 PCI-E Gigabit Ethernet Controller (NDIS 6.30), and a Lenovo ThinkPad E570 with a Realtek R8111GUS PCI-E Ethernet Controller. The Realtek did not seem to support vlan tagging though windows but you can try installing the Realtek diagnostic toolkit and see if you can get vlan tagging enabled. This was a test just with straight Windows 10.