Tag Archives: PowerShell ISE

Getting Started with VMWare PowerCLI

Share

I’ve recently been spending some time “cleaning up” our VMWare infrastructure and making it more functional – both for demos and for internal lab use. To that end, I’ve been trying to automate/simplify as many things as possible. One task that I’d been wanting to simplify is snapshot creation/deletion of multiple VMs at once since this is something we do all the time. Imagine you have a set of VMs that are used for a single lab instance of a product. Before you make any major changes – for example patching or upgrading the product – you want to create a clean snapshot so that you can revert if something goes wrong. Unfortunately, this is something you can only do one VM-at-a-time in a vanilla-vCenter environment. However, it’s dead simple using Powershell and PowerCLI!

Continue reading