powershell one-liner: powershell invoke-command -scr "{$tot=0; gwmi win32_Processor -Property NumberOfLogicalProcessors |  ForEach-Object { $tot = $tot + $_.NumberOfLogicalProcessors }; $tot}" Gives you the total number of what OS sees as processors, practically a total of all threads on all physical CPUs.