I am trying to retrieve the Number of CPUs and Cores per CPU using Command Prompt. I have executed the following command:
wmic cpu get NumberOfCores, NumberOfLogicalProcessors/Format:List
I get this error: wmic' is not recognized as an internal or external command, operable program or batch file
I am executing this on a Windows Server 2008 R2 machine. I believe the 'wmic' command is compatible on this windows.
The directory I am running the command promt from is 'C:\Windows>
Any advice please?
C:\Windows\System32\Wbem
on your path, and is there actually a fileC:\Windows\System32\wbem\WMIC.exe
? – Marzipanwmic computersystem get numberofprocessors
– Caravanwmic cpu get SocketDesignation, NumberOfCores, NumberOfLogicalProcessors /Format:List
– Dyl