I found a nice script tells me the vcpu limit for a host. But Get-VMHostAdvancedConfiguration has been replaced by get-advancedsetting and I do not see the value using get-advancedsetting. It still pulls up the information but gives me the warning about Get-VMHostAdvancedConfiguration being not being used anymore and use get-advancedsetting. Curious where is the value is and can I get it without using .Get-VMHostAdvancedConfiguration.
thanks
Which setting are you looking at ?
Can you give us the name ?
Blog: lucd.info Twitter: @LucD22 Co-author PowerCLI Reference
Ah it's in your header, I guess you miss misc.runningvcpulimit
What version are you using? I can't seem to find the limit in the advanced settings of the host by GUI/PowerCLI
If I do a quick google search I find an article VMware KB: Limit of virtual CPUs raised from 128 to 192 after ESX 3.5 Update 1 which applies to VMware ESX 3.5.x version.
I'm guessing that this option is removed in the versions above