Powershell Script to Check – Number of Cores and Logical Processors

Execute the below powershell script to get the number of cores and logical processors on the server.

Get-WmiObject –class Win32_processor | ft systemname,Name,DeviceID,NumberOfCores,NumberOfLogicalProcessors, Addresswidth

You can even check all the processor values from win32_Processor class.

Get-WmiObject –class Win32_processor | select *

Comments

4 responses to “Powershell Script to Check – Number of Cores and Logical Processors”

  1. Gerard Avatar
    Gerard

    Great input! Thanks

  2. jake Avatar
    jake

    the command is very inconstant. one time it will show all of the processors the next time it will not. Typical MS

  3. […] (The above command was gathered from this blog post) […]

  4. Smox Avatar
    Smox

    great post ! 10x

Thanks for the comment, will get back to you soon… Jugal Shah