PowerCLI: Enable Hot Add
Hello guys in this post the task is enable the Hot Add feature.
Let's Start!!
Command:
PS /Users/vicentemeneses> $vm=Get-VM kcp-bannerint01 PS /Users/vicentemeneses> $vmhotadd=$vm | get-view PS /Users/vicentemeneses> $vmConfigSpec = New-Object VMware.Vim.VirtualMachineConfigSpec PS /Users/vicentemeneses> $vmConfigSpec.MemoryHotAddEnabled = $true
PS /Users/vicentemeneses> $vmConfigSpec.CPUHotAddEnabled = $true
PS /Users/vicentemeneses> $vmhotadd.reconfigVM($vmConfigSpec)
Result:
And the Hot Add feature for CPU and Memory is enable.
That's all for today.
Thanks for visiting my blog.
Share and be sociable.
Please follow me on twitter @vicentejr86
No hay comentarios:
Publicar un comentario