Sunday, November 18, 2012

16 Get CPU/Socket/Core/Hyper-Threading from PowerShell

A while ago, I was been asked how to determine the Socket, CPU or Hyper-threading is enable on the Host.

The information can be retrieved from WMI’s Win32_processor . The problem is if you are on Win2003 or WinXP, the hotfix must apply  kb/932370 , otherwise the WMI may report the incorrect information.

Here is the simple PowerShell script to retrieve the information.

gwmi win32_computersystem | fl NumberOfProcessors, NumberOfLogicalProcessors
gwmi  win32_processor | ft NumberOfCores,NumberOfLogicalProcessors

Quart core – No Hyper threading


In the screenshot above, the NumberOflogicalprocessors is same as Numberofcores, that means the Hyper-threading is not enable.

We can use sysinternal tools coreinfo to verify the information.


Quart core – with Hyper threading

Here is another test on my Win2012 host with Intel(R) Core(TM) i7-3610QM CPU

The host is one socket with Quart core CPU and Hyper-threading enable,


Dual Core – No Hyper-threading

I use VMWare to emulate the 2 sockets host. The host has 2 sockets, Each Socket has 2 core but no hyper-threading enable.


The VMWare does not support the Multicore with HT enable. So I don’t have the test screenshot base on that.


  1. Some drivers don’t run quite as they should in Windows 10. One that has been discovered to be causing 100% HDD use is the StorAHCI.sys driver, which has a firmware bug. read more

  2. gwmi win32_computersystem | fl NumberOfProcessors, NumberOfLogicalProcessors
    gwmi win32_processor | ft NumberOfCores,NumberOfLogicalProcessors
    Service Host SuperFetch

  3. Here is another test on my Win2012 host with Intel(R) Core(TM) i7-3610QM CPU
    The host is one socket with Quart core CPU and Hyper-threading enable Service Host SuperFetch

  4. DNS Server Not Responding
    When you try to connect to the Internet, the connection might fail when we run the Troubleshooter, and you might get this error: The device or resource (DNS server) is not responding. The exact error would be: You computer appears to be correctly configured, but the device or resource (DNS server) is not responding.

  5. sometimes a technical error can cause hogh disk usage.The basic reason is sid to be service host superfetch that can cause 100 disk in windows task manager. There is simple solution. Click Here

  6. Happy Birthday Images: Birthday is the first day of everyone life. It also should be on the account of course.Happy Birthday Images

    Here is your quick read on Kishele Shipley biography. Interesting facts about Kishele Shipley and her boyfriend, Kawhi Leonard.kawhi leonard

    The discomfort of a getting an unanticipated call from an unknown number is familiar to all of us, I’m sure! As an introvert.truecaller

    Here are 10 best alternative websites of Backpage of 2019, which you must explore to find the services or post and seek classifieds for free. www backpage com website

    Flvto is an excellent decision if you need to get MP3s from those audio search engines like google and yahoo or music snatching sites.flvto mp3 converter

  7. I definitely enjoying every little bit of it and I have you bookmarked to check out new stuff you post. SAS Hard Drive

  8. replica mont blanc uk is a brand with a long history. Founded in 1906, the replica mont blanc donation penscompany is named after one of the highest mountains in Europe, marking the brand's commitment to producing fine writing instruments. Using the brand that produces the best writing instruments, it helps to know how to find the Montblanc fountain pen that works best for you. From the best Montblanc fountain pens to ballpoint and ballpoint pens, you have a choice. Whether you are a collector or a keen writer, this article will take you to the top 10 Montblanc fountain pens on the market.

  9. Amazing, this is great as you want to learn more, I invite to This is my page. COPPER INSULATED WIRES for sale in France


  10. Great to read article about berry update which i like reading about it.You have made an excellent effort in making this website which is appreciable techwith geeks whizz herald tales buzz

  11. Intel produces motherboards with their own chipsets, yet purchasing a motherboard brand, for example, Gigabyte, Biostar, and ASUS implies getting a board with either a VIA, Nvidia, SIS, or Intel brand chipset. Lian Li Lancool II

  12. Great post, I have perused this post here I got valuable data. This is an exceptionally helpful article for online audit perusers.
    Frases Para Enamorarz,
    Restaurants Near Me Open Now,
    points near me now

  13. This article is informative because in this content some of the important things related to computer technology are discussed in a nice way. Assignment Writing Services

  14. Utilized computer technology items have taken on more noteworthy significance lately as IT experts try to fix their financial plans while keeping up the administration levels their associations need. computer accessories

  15. Wow! Such an amazing and helpful post this is. I really really love it. I hope that you continue to do your work like this in the future also.

    Big Data Training Institute in Pune
    Hadoop Training in Pune


  16. Thanks for sharing this valuable information to our vision. You have posted a trust worthy blog keep sharing.

    Acquired and Inherited Traits
    fiu canvas
    Alphanumeric Characters
    Area of a Rhombus



SQL Panda Copyright © 2011 - |- Template created by O Pregador - |- Powered by Blogger Templates