FAQ 000161 – Use PowerShell to do CPU inventory

This article applies to:

Windows Server 2016

Here is an example of a PowerShell command you can use to collect info on your server CPUs

Copy to Clipboard

AAA

The command will produce following output:

SystemName DeviceID Manufacturer Name                                      NumberofCores NumberofLogicalProcessors
---------- -------- ------------ ----                                      ------------- -------------------------
SERVER1    CPU0     GenuineIntel Intel(R) Xeon(R) CPU E5-2680 v4 @ 2.40GHz            14                        28
SERVER1    CPU1     GenuineIntel Intel(R) Xeon(R) CPU E5-2680 v4 @ 2.40GHz            14                        28

About the Author:

Dejan Foro
Dejan Foro is founder and CEO of Exchangemaster GmbH. He lives in Zurich, Switzerland and is a dedicated specialist, with 25 years of professional work experience in IT. Before starting Exchangemaster GmbH he worked for 20 years as a system engineer and project manager with customers of all sizes across many industries: From small ISV startups and a NGO humanitarian organizations up to largest international corporations like Stryker, Swisscom, British Telecom and Nyrstar. He spent his entire career delivering Microsoft based infrastructure solutions with main focus on Active Directory and Exchange. During those years, he collected a valuable work experience on 7 Exchange generations (2016, 2013, 2010, 2007, 2003, 2000 and 5.5) and has delivered services to a user base of about 3.2 million mailboxes in on-premise, hybrid and Office 365 deployments. Beside working on customer projects, he is a regular speaker and expert at Microsoft conferences and user groups. As a Microsoft Certified Trainer he teaches Microsoft Official Curriculum courses to technical professionals around Europe. For his work he has received numerous awards. In 2005 he was the first member to be elected into the MCP Hall of Fame by Windows IT Pro Magazine readers choice (as 1 of 6 worldwide). From 2005-2017, Dejan has been awarded by Microsoft Corporation with the yearly Microsoft Most Valuable Professional award in area of Exchange for 12 years in a row (one of approximately 100 worldwide and the only 1 such in Switzerland).

Leave A Comment