Made a simple script:
$VM = get-vm -name ********SQL03 $VMview = get-view $oneVM $VMCores = $VMview.config.hardware.numcorespersocket $VMSockets = $VMview.Config.Hardware.NumCPU $VMCPU = $VM.NumCPU Write-Host $oneVM.Name -ForegroundColor Cyan Write-Host "VMCores - $VMCores" -ForegroundColor Magenta Write-Host "VMSockets - $VMSockets" -ForegroundColor Magenta Write-Host "VMCPU - $VMCPU" -ForegroundColor Magenta
Received strange results.
it turns out to receive VMSockets value through PowerCLI - it is impossible