The ErrorAction parameter still throws an error even if the “SilentlyContinue” option is selected. This is a problem if you just want to check the existence of NICs on a ESX Host.
During my PowerCLI scripting for the provisioning of new ESX Hosts i have found another bug. The Set-VDSwitch CMDlet does not set the number of uplink ports correctly in every case.
Time for the next PowerCLI bug. The Set-VDUplinkTeamingPolicy CMDlet has problems with the “failback” option.
It is possible to switch “Failback” from true to false, but not from false to true.
Today a colleague has asked me how to optimize a PowerCLI query for virtual machines in a certain virtual datacenter. He want’s to avoid a expensive GET-VM query and he seeks a solution to do that with get-view.
Currently VMware does not provide a PowerCLI snapin to access the vCenter Operations API (the HttpPostAdapter). Clint Kitson and Alan Renouf have developed a Powershell Module to fill that gap.
Page 1 of 3