The Best User Interface for your VMware Datacenter!
Currently there isn't a good way to configure VM memory hot-add and cpu hot-add via PowerCLI. These seem like good options for Set-VM.
Shipped in PowerCLI 12.5
And if you're just looking to query the info...
$VM.ExtensionData.Config | Select Name,CpuHotAddEnabled,MemoryHotAddEnabled
This does it. But not as intuitive as some might want.$VM = Get-VM MyVM $spec = New-Object VMware.Vim.VirtualMachineConfigSpec $spec.memoryHotAddEnabled = $true $spec.cpuHotAddEnabled = $true $VM.ExtensionData.ReconfigVM_Task($spec)
Managing the values or even the ability to enable/disable the setting.
You won't be notified about changes to this idea.
Shipped in PowerCLI 12.5
And if you're just looking to query the info...
$VM.ExtensionData.Config | Select Name,CpuHotAddEnabled,MemoryHotAddEnabled
Managing the values or even the ability to enable/disable the setting.