For those that were too busy on Tuesday looking at the shiny Apple, VMware released updates for a few of their products including PowerCLI. Following in the footsteps of the vCloud Suite, the latest version of PowerCLI is now 5.8.
This version brings many enhancements including a new snap-in called VMware.VimAutomation.Storage that provides new cmdlets for managing vSphere policy based storage. For those running vCloud Director there are two new cmdlets which could be very helpful – New-CIVM and Get-CIVMTemplate. Multiple cmdlets have been updated with new filter abilities, notably via the tag parameter. Further enhancements were made to improve the start-up speed of the first PowerCLI cmdlet, which is very welcomed. The full release notes can be found here.
One of the resolved issues had a direct impact on my Deploy-VM script (found here)
You cannot deploy a virtual machine by using the New-VM cmdlet when the target is a datastore cluster and the DiskStorageFormat parameter is specified.
It is always nice to timely updates when you stumble across an issue – kudos VMware.