With the introduction of new concepts like hyper-threading and multi-core CPUs, it isn’t easy to find out how many physical CPUs (or sockets). The count what we see on the Task Manager or computer properties is the Virtual CPU.After a search around, I have found a free tool named CPUCount.
CPUCount is a tool from Intel that detects multi-core processor topology.It provides exactly the information that I was looking for only on Intel servers. It does not provide the correct information on AMD servers with multi-core processors. There are other tools too which can be handy in time like process explorer, winaudit, etc.