PowerCLI: Enable/Disable the VM Hot Add features
Since the release of vSphere, you are able to Hot Add memory and vCPU. Quote from the VMware website: Virtual Machine Hot Add Support— The new virtual hardware introduced in ESX/ESXi 4.0 supports hot plug for virtual devices and supports addition of virtual CPUs and memory to a virtual machine without powering off the virtual machine. See the Guest Operating System Installation Guide for the list of operating systems for which this functionality is supported. So I wanted to see, if I was able to enable/disable this settings via PowerCLI and came up with a couple of functions.