• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 307
  • Last Modified:

number of cores based on processor model

We have a task of identifying number of cores on all physical servers. We already have an inventory (CMDB) of sorts from winaudit scans. However, all the inventory states for one system is Intel(R) Xeon(R) CPU 3040 @ 1.86GHz (1 processor). From the model alone, can you tell how many "cores" there are?
2 Solutions
Yes, you can look up the CPU on the manufacturer's homepage (intel), and it's specifications are listed there (2 cores for that CPU):

Joshua GrantomSenior EngineerCommented:
This Powershell script will return the number of cores and logical processors for every server in your domain running a Windows Server OS

Import-Module ActiveDirectory

$computers = (Get-ADComputer -Filter {Enabled -eq $True -and Operatingsystem -like "*server*"}).name

foreach ($computer in $computers)
Get-WmiObject -class win32_processor -ComputerName $computer -Property  "systemname","numberOfCores","NumberOfLogicalProcessors" | Select-Object -Property "systemname","numberOfCores","NumberOfLogicalProcessors"

Open in new window


Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now