I need a WMI query to get an ACCURATE number of sockets, ACCURATE number of cores, and ACCURATE status if HyperThreading is on or off on a large set of servers. Any suggestions on how to implement this would be greatly appreciated. I need support for both AMD and Intel chipsets.
Note: Some tools I have found for this report INACCURATE info, such as Hyperthreading being
enabled on older AMD chips (impossible). Also, some tools report dual core chips as single core
chips and hyperthreading reporting as physical CPU cores.