PowerCLI 6.5.4

New Release – VMware PowerCLI 6.5.4

Although VMware released PowerCLI 6.5.3 a little over a month ago, here comes a pleasant surprise: few days ago VMware made available the shiny new version PowerCLI 6.5.4! The new version brings us improvements in two areas:

  • new module for VMware Cloud on AWS
  • new cmdlets for storage module

PowerCLI 6.5.4 – VMware Cloud on AWS Module

VMware added three new cmdlets to manage VMware Cloud on AWS:

  • Connect-VMC
  • Disconnect-VMC
  • Get-VmcService

PowerCLI 6.5.4 – Storage Module

VMware added tons of new cmdlets, most of them related to vSAN encryption:

  • Add-KeyManagementServer
  • Get-KeyManagementServer
  • Set-KeyManagementServer
  • Remove-KeyManagementServer
  • Get-KmsCluster
  • Set-KmsCluster
  • New-KmipClientCertificate
  • Get-KmipClientCertificate
  • Start-VsanEncryptionConfiguration
  • Get-VsanEvacuationPlan
  • Repair-VsanObject
  • Start-VsanClusterRebalance
  • Stop-VsanClusterRebalance
  • Get-VsanRuntimeInfo

In the same Storage module, VMware added new functionality to few other cmdlets:

  • Get-VsanTest – displays vnic and pnic vSAN Stats
  • Start-VsanClusterDiskUpdate – new parameter: EraseDisksBeforeUse (reformats the vSAN disk with encryption settings)
  • Get-VsanClusterConfiguration – displays the silent health check status and resync throttling configuration of a vSAN cluster
  • Set-VsanClusterConfiguration – new parameters: AddSilentHealthCheck, RemoveSilentHealthCheck, ResyncThrottlingMbps, WitnessHost (for managing the vSAN health checks list and resynchronization traffic limit)
  • Test-VsanClusterHealth – additionally displays encryption health results

Install and Update PowerCLI 6.5.4

As of PowerCLI 6.5.1, PowerCLI is released as part of PowerShell Gallery. This means no more authentication required before downloading the infamous msi file! If you have an older version, go ahead and uninstall it then proceed to install PowerCLI 6.5.4 as shown below.

If you have PowerCLI 6.5.1, 6.5.2, or 6.5.3, you can update to 6.5.4 right away using this command:

Update-Module -Name VMware.PowerCLI

If you need to install it from scratch, follow the below instructions.

Make sure you run a supported PowerShell version. As per the Compatibility Matrix, supported PowerShell versions are 3.0, 4.0, 5.0, and 5.1.

PowerCLI 6.5.4 - PowerShell Version

Let’s install PowerCLI 6.5.4 now!

Install-Module -Name VMware.PowerCLI

PowerCLI 6.5.4 - Install

We’ll get through few install screens, nothing to be done by us. After installation, let’s check the PowerCLI version:

Import-Module VMware.PowerCLI

Get-Module -Name VMware.PowerCLI | Select-Object -Property Name,Version

PowerCLI 6.5.4 - Check

We’ll see the PowerCLI version listed as Enjoy 🙂

Constantin Ghioc

I usually play with vRealize Automation, vRealize Orchestrator and different AWS tools. In my other life, I’m a husband and a father, an amateur photographer and a Go enthusiast.

Leave a Reply

Your email address will not be published. Required fields are marked *