CmdID / PowerShell / Cmdlets / Remove
Remove-NetworkSwitchVlan
Removes network switch VLANs. Windows Server PowerShell reference
From the Windows Server PowerShell reference 7 parameters Its page in the reference
Parameters
-CimSessionSpecifies the CimSession that this cmdlet uses to connect to the network switch.-Confirm, -cfPrompts you for confirmation before running the cmdlet.-InputObjectSpecifies the input object that is used in a pipeline command.-InstanceIdSpecifies the instance ID of a VLAN to remove.-NameSpecifies a name for a VLAN to remove.-VlanIdSpecifies the ID of a VLAN to remove.-WhatIf, -wiShows what would happen if the cmdlet runs.