title: Powershell script to get number of Physical CPU's
body: <p>I tried to get the number of physical CPU's using below script however could not able to get the required resul.</p>
  
  <pre><code>get-wmiobject Win32_ComputerSystem
  </code></pre>
  
  <p>Is there any command to get <em>Number of Physical CPU's</em> ?</p>