VMware PowerCLI Hands-on-Learning Review

Have you been wanting to learn PowerCLI but don’t have a test environment to practice with out the fear of breaking live production? That is where this hands-on-learning (HOL) lab from VMware can come in handy. I personally worked through this HOL and found that the information that was provide to be very thorough to help with beginners wanting to start with PowerCLI. The other best part of this training is that it is free.

This lab has an interface that provides a windows desktop with PowerShell with PowerCLI module installed. Once you get it going you can either use the lab manual that is integrated into the interface or a provided PDF file so you can review the information at a later time.

Going through the lab manual it starts out slow and provides a lot of useful information, but I did notice that there was an issue when asked to opening the first script, Module7.ps1. It seems as if there was an update to the script that they are asking for, but didn’t update the documentation to reflect the new script name. The script that was needed, Module8.ps1, was located on the desktop of the lab computer. The PowerShell script, Module8.ps1, that is asked to be open has the all of the commands that the lab manual references.

The first part of the course goes over how to get information about the VMs and how to export the data. It has several different ways to format the data; TXT, CSV, XML, and HTML.

The lab even went into creating a VM cluster and then how to configure DRS and HA. Then once the cluster is setup and configured,
it goes over how to move the hosts into the new cluster using command like the following:

The best part of this training in my mind, is that it goes over how to configure and setup a VDS (Virtual Distributed Switch). In my environment we have been working to re-configure all of our VM clusters to Distributed Switches.

Hello Joe,
If you have a template you can spin up a VM in a matter of a minute or less. Drop an IP on the box and you are ready to go. I have a script () that can be used to build multiple VMs at a time. The other option would be just doing a single VM in a single line via PowerCLI: