Create a bunch of snapshots with PowerCLI

Last week I was working with snapshots in my lab. I came up with this one liner to create a bunch of snapshots on the same virtual machine: for ($i=1; $i -le 5; $i++) {get-vm “snaptest” |new-snapshot -name “snapshot00$i” -Description (get-date -format “‘Created: ‘yyyy-MM-dd HH:mm”) -memory:$true} As you can see…

Install VMware Tools in openfiler

I have a couple of lab type vSphere setups that use Openfiler virtual machines for shared storage. For several months these have been running with out of date VMware tools. Several weeks ago I was able to upgrade these tools and wanted to share the required steps. The first required…

Check ESXi to see if sshd is listening

In a recent service request with VMware, Tech Support enabled ssh on one of my ESXi hosts. Unfortunately, the outage that prompted my support request impacted multiple hosts in different clusters, so we were looking at many things in the entire environment. I didn’t write down the name of the…

Script to Configure SSL on ESX/ESXi

I’ve had to create a bunch of SSL certificates for ESX/ESXi hosts. Its always a pain because there are a bunch of steps and I can’t remember what my company always uses for the Organization name/Organizational unit name. I created some documentation on the process and have to look at…

© 2026 Enterprise Admins.org. Design inspired by the Clarity Design System. Not affiliated with or endorsed by Broadcom or VMware.