Hello Guys,
Hope you are doing well !!
I am automating the VMware Esxi configuration and stuck and one place and here are the scenario-
I have 5 Nics on my Esxi Node and out of five one is 1G & 4 are 10G.
Host is added in vCenter using 1G NIcs with default vmk0.
Now I have create two DVS Switch on vcenter DVS-1 & DVS-2, where i want to add two pNics on each DVS as uplink..
does any one has any powercli to do this task?
Thanks
Discussion moved from Forums to VMware PowerCLI
You can use the Add-VDSwitchPhysicalNetworkAdapter cmdlet for that.
Have a look at Example 1.
Moderator Note (a.p.): Fixed link to the cmdlet
Blog: lucd.info Twitter: @LucD22 Co-author PowerCLI Reference