O'Reilly logo

Mastering PowerCLI by Sajal Debnath

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Creating private VLANs

In this section, we will discuss how to create a private VLAN in a distributed switch. We will first use the Get-VDSwitchPrivateVlan cmdlet to check whether there are any private VLANs configured or not. As can be seen, there is no PVLAN. Next, we created three different types of PVLAN and again checked the status.

Creating private VLANs

We can remove a private VLAN using the Remove-VDSwitchPrivateVlan cmdlet.

Creating private VLANs

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required