Vester – open source, native PowerCLI Configuration Management for vSphere

Recently, I was able to play around a bit with Vester, an open source native PowerCLI configuration management tool for vSphere environments.

The basic idea: 1) Build a configuration file from existing objects (VM, Host, Cluster, etc.), 2) tweak if needed, 3) audit all the things for compliance, and 4) remediate (optional).

At various customer sites, I find myself providing a particular type of code over and over – hey, there’s a hot KB setting tweak we need to apply, so let’s audit current state, test the change, update all objects in your environment, and then leave the customer a script to continue this audit/remediate cycle.  I’d like a better way, following the principle of DRY IT.

While other configuration management tools exist (such as ansible’s VMware module), I find that many VMware admins have a reasonable comfort level with PowerCLI but less so with other CM tools.  Additionally, in my role as a consultant, I may not have scope to engage in a full-blown deployment of CM tools.

However, most of my customers already have a place to run PowerCLI scripts.  This makes Vester an easy, fast solution.

Vester would allow me to hand my customer a PowerCLI module and config script, with simple instructions to run “Invoke-Vester” and “Invoke-Vester -Remediate”. This seems an elegant way to address the above use case. Pretty neat!

Still, in my assessment, this is definitely not a replacement for enterprise “infrastructure as code” and configuration management tools, which provide the feature rich framework required for managing IT at scale.  Instead, it is an easy to understand tool that is accessible to the majority of vSphere admins.  As such, I think it fills a much-needed niche between manual administration and full-blown infrastructure automation.

P.S. I have updated my Resources page to include the beginners guide to “contributing to a github project” I found useful here.  Although I’ve worked with github and some git basics, I found the linked guide helpful to see how the pieces fit together.

2 thoughts on “Vester – open source, native PowerCLI Configuration Management for vSphere

  1. What “infrastructure as code” and Enterprise configuration mangement tools do you have in mind to manage vCenter? Ansible might be a solution. I would rather stick with the PowerCLI side of the house (as you alluded to)

    I was really hoping for DSC for vCenter.

    1. Hi John. I’m thinking of mature tools such as Chef, Saltstack, Ansible and so on. There is a project to bring DSC to vCenter you can find on github if you are interested in going that direction as well.

Leave a Reply

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

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Recent Posts



GiottoPress by Enrique Chavez