Remove-VDSwitchPrivateVlan

This cmdlet removes private VLAN configuration entries from vSphere distributed switches.

Syntax

-VDSwitchPrivateVlan  <VDSwitchPrivateVlan[]>
[CommonParameters]

Parameters

Required Parameter Name Type Position Features Description
required
VDSwitchPrivateVlan
VDSwitchPrivateVlan[] named
  • pipeline
  • Specifies the private VLAN configuration entry that you want to remove.

    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

    Feedback

    Was this page helpful?