powershell cpu count
1 2 3 4 5 6 7 8 9 10 11 12 |
PS C:\> gwmi win32_computersystem | fl NumberOfProcessors, NumberOfLogicalProcessors NumberOfProcessors : 2 NumberOfLogicalProcessors : 16 PS C:\> gwmi win32_processor | ft NumberOfCores,NumberOfLogicalProcessors NumberOfCores NumberOfLogicalProcessors ------------- ------------------------- 4 8 4 8 |