PowerCLI 11.2 has now been released. The additions for vSAN include updates to some existing cmdlets.
Storage Updates
The cmdlets updated include: Get-VsanSpaceUsage, Get/Set-VsanClusterConfiguration, and Test-VsanNetworkPerformance.
vSAN 6.7 Update 1 added the ability to estimate the amount of free capacity for a vSAN cluster using a selected Storage Policy in the UI:
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.
A few samples have been added to the PowerCLI Cookbook for vSAN (now v1.4) on StorageHub.
More Information
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:
https://blogs.vmware.com/PowerCLI/2019/02/powercli-11-2-0.html
This was originally posted on the VMware Virtual Blocks site: https://blogs.vmware.com/virtualblocks/2019/02/28/powercli-11-2-vsan/