Remove-VDSwitchPrivateVlan
This cmdlet removes private VLAN configuration entries from vSphere distributed switches.
Syntax
Parameters
Required | Parameter Name | Type | Position | Features | Description |
---|---|---|---|---|---|
required
|
VDSwitchPrivateVlan | VDSwitchPrivateVlan[] | named |
|
Specifies the private VLAN configuration entry that you want to remove. |
optional | ProgressAction | ActionPreference | named |
|
Output
Examples
Example 1
Get-VDSwitchPrivateVlan -VDSwitch "MyVDSwitch" -PrimaryVlanId 1,3,5 | Remove-VDSwitchPrivateVlan
Removes the private VLAN configuration entries with specified primary identities from a vSphere distributed switch named "MyVDSwitch".
Related Commands
VDSwitch
This cmdlet exports the configuration of a specified vSphere distributed switch to a .zip file.
This cmdlet retrieves vSphere distributed switches.
This cmdlet creates vSphere distributed switches.
This cmdlet removes vSphere distributed switches.
This cmdlet modifies the configuration of vSphere distributed switches.
VDSwitchPhysicalNetworkAdapter
This cmdlet adds host physical network adapters to a vSphere distributed switch.
This cmdlet removes host physical network adapters from the vSphere distributed switches they are connected to.
VDSwitchPrivateVlan
This cmdlet retrieves the private VLAN configuration entries of a vSphere distributed switch.
This cmdlet creates private VLAN configuration entries on a vSphere distributed switch.
This cmdlet removes private VLAN configuration entries from vSphere distributed switches.
VDSwitchVMHost
This cmdlet adds hosts to the specified vSphere distributed switch.
This cmdlet removes hosts from the specified vSphere distributed switches.