Remove VLAN and IP configuration in Windows 2019 Core

in this example I will remove VLAN 419 and associated IP addressing using Powershell

This is a follow on from http://www.jordansphere.co.uk/add-lacp-interface-and-vlan-via-cli-in-windows-2019-core/

Remove IP addressing:

Remove-NetIPAddress -IPAddress 10.9.34.196 -PrefixLength 26 -InterfaceAlias “Storage – VLAN 419”

Remove VLAN:

Remove-NetLbfoTeamNic -Team “Storage” -vlanid 419