Hardware, PowerShell PowerShell Get-WmiObject -Class Win32_Processor | Select-Object NumberOfCores Get-WmiObject -query "select NumberOfCores from Win32_Processor" 12 Get-WmiObject -Class Win32_Processor | Select-Object NumberOfCoresGet-WmiObject -query "select NumberOfCores from Win32_Processor"