Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

We recently setup SCOM 2012 and deployed agents to all of our servers. We also have noticed that a number of these servers do not have hyper threading enabled, which they should. Is there any way we can use SCOM or WMI to find which servers do not have Hyper Threading turned on. My thought is that I should be able to find all systems where total cores = total threads, as this is an indication that Hyper Threading is disabled (or not available).

Example from Server 2012 Task Manager (12 cores and 12 "logical processors"/threads, should be 24 threads):

This needs Hyper Threading

share|improve this question

The following Powershell script uses WMI to find which computers do not have Hyper Threading turned on by comparing cores to threads. You should run it in an Administrative console using as a Domain Administrator account:

$cs = Get-ADComputer -LDAPFilter "(name=host*)"
foreach($c in $cs){
    gWmi -class Win32_Processor -ComputerName $c.Name | select SystemName,DeviceID,Number*

This shows the CPU core and thread counts for all computers in Active Directory who's name starts with host. If there are multiple CPUs they will show up as CPU0, CPU1, etc. Example:

enter image description here

I still think there should be a way to use SCOM to do this, but the above works.

share|improve this answer
Hi Greg. I'm not exactly a Ninja at Powershell so I need to ask, s there something that needs to be done beforehand? Powershell is returning an error about Get-ADComputer not being a valid cmdlet. – Jeff Moden Oct 5 '14 at 23:39
@JeffModen Get-ADComputer is part of the Active Directory Module, which is installed as part of the AD Management tools (also known as RSAT). More details at and . Once the Remote AD tools are installed you can use Import-Module ActiveDirectory to load the AD cmdlets. – Greg Bray Oct 5 '14 at 23:48

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.