VMware PowerCLI 12.1 with vLCM Enhancement

Spread The Knowledge

VMware PowerCLI is always a favorite topic for VMware admins working mostly with command line and love to automate repetitive tasks. In this blog post, we will talk about new released VMware PowerCLI 12.1 with vLCM.

vLCM stands for vSphere Lifecycle Manager was introduced in VMware vSphere 7.0 and onwards. It is a comprehensive collection of abilities in vSphere 7 for consistency across ESXi hosts and easier ways to update hosts across the cluster.

vSphere Lifecycle Manager (vLCM)
vSphere Lifecycle Manager (vLCM)

It will ensure more efficient upgrades, better reliability, and performance with easier maintenance experience. The main feature is the desired state model and full integration with various hardware vendors for full-stack firmware updates and automatic compatibility checks.

I’ll will let you know the new cmdlets that are released with PowerCLI 12.1:

  • vSphere Lifecycle Manager(vLCM)
  • Cloud-Native Storage Volumes(CNS)
  • vSAN secure disk wipe
  • vVOL storage container
  • Workload Management Cluster

Along with the new cmdlets enhancement there are some improvement made in existing modules such as:

  • Secure Encrypted Virtualization in New-VM and Set-VM cmdlets
  • Content library- Support extended to allow uploading items from internet and datastore URLs
  • Added support for Site Recovery Manager 8.3.1
  • New features for VMware Cloud on AWS.

These newly released cmdlets will surely help developers and administrators to have more automation and control over the virtualized infrastructure.

Let’s see how you can update and install the vLCM module.

You need to run below cmdlet to install the latest PowerCLI version.

 Install-Module -Name ‘VMware.PowerCLI’

And use below cmdlet to update the latest PowerCLI version.

 Update-Module -Name ‘VMware.PowerCLI’

There are three new cmdlets introduced to manage vLCM.

  1. Get-LcmImage
  2. Test-LcmClusterCompliance
  3. Test-LcmClusterHealth


This cmdlet gives the vSphere Lifecycle Manager images available on a vCenter Server system. The cmdlet returns a set of vSphere Lifecycle Manager images that correspond to the provided filter criteria.


This cmdlet tests cluster’s host’s compliance concerning its target state. You can test the specified cluster’s hosts for compliance with the cluster’s vSphere Lifecycle Manager desired state.


To test the cluster health in advance, this cmdlet will be useful.

VMware PowerCLI Overview

VMware PowerCLI is a command-line and scripting tool built on Windows PowerShell, and provides more than 700 cmdlets for managing and automating vSphere, VMware Cloud Director, vRealize Operations Manager, vSAN, NSX-T, VMware Cloud Services, VMware Cloud on AWS, VMware HCX, VMware Site Recovery Manager, and VMware Horizon environments.

To know more on this visit the VMware Official Documentation page below:

Spread The Knowledge

Leave a Comment