CmdID / PowerShell / Cmdlets / Disable
Disable-NetworkSwitchVlan
Disables a VLAN of a network switch. Windows Server PowerShell reference
From the Windows Server PowerShell reference 6 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.-InstanceIdSpecifies the instance ID of a VLAN to disable.-NameSpecifies the name of a VLAN to disable.-VlanIDSpecifies VLAN ID of the VLAN to disable.-WhatIf, -wiShows what would happen if the cmdlet runs.