PowerShell: Removing VMware CPU/Memory resource limits

I recently assisted with a major hardware life cycle. We Migrated from Dell 1950’s to IBM BladeCenter H with H21XM blades. While the processors were comparable the RAM upgrade was tremendous. Going from 8/16GB to 32GB. This increase enabled much greater consolidation ratios, and with such we found ourselves with an abundance of hardware. After shutting down several hosts, and collapsing a few clusters we still weren’t driving our infrastructure. Shortly thereafter we realized that the resource limitations we had previously set. Were no longer necessary, and in some cases where decreasing performance (memory ballooning). A few minutes with the VI Toolkit for Windows, and we were screaming again!

Now all that is left is for Andrew to translate this to perl/rCLI.

6 thoughts on “PowerShell: Removing VMware CPU/Memory resource limits”

  1. Thanks for this script. It was useful to me in a customer environment where they had been victims of the 3.5 bug that created 512MB limits on templates. They had about 100 VM’s that all had 512MB limits. They were wondering about why vSphere hadn’t improved performance…. thanks to two minutes with your script, it has. 🙂


    I may well write a note on my blog about this one.

  2. Another helpful script Glenn – everytime I look for script help your site pops up and does the trick. I needed a way round a known bug with Get-VMResouceConfiguration and your Get-View version works a treat.


Leave a Reply