Greetings one and All!
I was wondering if anyone out there has figured out how to change the names of the uplinks on the vds creation steps via powerCLI. I do a lot of VDS creation and we have a step where we change the names of the uplinks to our standard names. But i cannot for the life of me find a way to change the names with the available PowerCLI 6.0 Documentation. I am trying to accomplish this on ESXi 6.0 machines, But i would also like it to be "retrofitable" to 5.5 as well.
any help anyone can provide would just be fantastic!
here is one of the commands i have been working with to create the VDSs:
New-VDSwitch -name "testswitch" -LinkDiscoveryProtocol CDP -LinkDiscoveryProtocolOperation Both -MaxPorts 512 -Mtu 9000 -NumUplinkPorts 2 -Version "6.0.0" -Location TestDC
thanks!
Before the VDS cmdlets were introduced, I wrote a New-dvSwitch
cmdlet.
In there you can give the basename of the uplinks.
See dvSwitch scripting - Part 1 - Creation
Renaming the uplinks of an existing VDS should be possible via the ReconfigureDVS method.
Don't have a sample script handy for that right now
Blog: lucd.info Twitter: @LucD22 Co-author PowerCLI Reference
Thanks for the reply! Ill look into this and see where I can go from there.