Massive work, MKGuy!!!
I was looking for this snippet for more than a month and finally a good day today!!! Thanks much!!!
I have a question with Set-VM $vm -MemoryMB $memMB -NumCpu $vcpu -Confirm:$false
(in VSphere 5.1) Do we have a command to set number of cores per socket and number of Virtual sockets?
For instance, if i need 4vCPUs then I should be able to set 2 cores per socket and 2 virtual sockets.
Thanks in advance.