Windows cpu number of cores




















A CPU with two physical cores is called a dual-core processor and four physical cores is called a quad-core processor. A logical core also known as logical processors is more of a programming abstraction than an actual physical entity.

Logical cores are the abilities of a single physical core to run multiple tasks or threads simultaneously. For example, if you have a quad core CPU and each of its physical cores can run two threads at a time, then you have 8 logical cores. Go to the Performance tab and select CPU from the left column. It should open up the System Information app. Here is the code that creates the new array of ComputerNames:. I now define an array of property names that are to be collected from WMI.

This is a straightforward value assignment:. I use the foreach statement to walk through the array of computer names. If the computer name matches the local computer name, I do not use credentials because WMI would cause the command to fail.

In addition, I check to see if the computer name is greater than 0 in length. This takes care of the empty element at the end of the array. This portion of the code is shown here:. RS, that is all there is to using the Active Directory module to retrieve computer names, and to use WMI to query for the processor information. I invite you to follow me on Twitter and Facebook.

If you have any questions, send email to me at scripter microsoft. See you tomorrow. Until then, peace. Comments are closed. Scripting Forums. PowerShell Forums.

PowerShell on TechCommunity. September 26th, Your script yesterday Doctor Scripto September 27, I am wondering about the Windows You can follow the question or vote as helpful, but you cannot reply to this thread. I have the same question 5. Report abuse. Details required :. Cancel Submit. DaveM Independent Advisor. Hi Joydeep Your processor is a dual core i3 processor with 4 logical threads, it is being reported incorrectly.

Click your Start Button, then just type msconfig and hit Enter On the resulting dialog, choose the Boot tab and click 'Advanced Options' Please provide a screenshot of that page - do not make any changes on that page. How satisfied are you with this reply? Thanks for your feedback, it helps us improve the site. In reply to DaveM's post on April 4,



0コメント

  • 1000 / 1000