PowerCLI 11.2 has now been released. The additions for vSAN include updates to some existing cmdlets.
The cmdlets updated include: Get-VsanSpaceUsage, Get/Set-VsanClusterConfiguration, and Test-VsanNetworkPerformance.
The Get-VsanSpaceUsage cmdlet can now accept a -StoragePolicy parameter and report what the estimated free capacity for a vSAN Cluster would be.
The Get/Set-VsanClusterConfiguration cmdlet adds some additional parameters that can be reported against and configured respectively these include:
- CustomizedSwapObjectEnabled – This configures the VM swap file to inherit the VM’s Namespace policy
- GuestTrimUnmap – Enables TRIM & UNMAP support for vSAN 6.7 U1
More information can be found on Space Efficiency Technologies section of StorageHub
- LargeClusterSupported – Enable large cluster support (>32 hosts), which is now exposed in Cluster Quickstart in 6.7 U1 as well
- ObjectRepairTimerMinutes – Configure the Object Repair Timer value for the cluster – Also in the vSphere Client in 6.7 U1
The Test-VsanNetworkPerformance cmdlet adds a -DurationInSecond parameter to adjust the duration of a vSAN Network Performance test.
While not necessarily related to Storage, those Administrators that are security conscious, PowerCLI also introduces some additional authentication options, including support for GovCloud.
More information can be found on the PowerCLI blog:
This was originally posted on the VMware Virtual Blocks site: https://blogs.vmware.com/virtualblocks/2019/02/28/powercli-11-2-vsan/