title: Get CPU processor speed via PowerShell
body: <p>I needed to get number of CPU processor speed as a number.
  I can't use any extra utility commands. I can use only cmd in Windows or Powershell.</p>
  
  <p><code>wmic cpu get name | select -Skip 1 | %{$_.Split(' ')[5];} | %{$_.Substring(0, 3)}</code></p>
  
  <p>Everything is performed correctly, except substring command 
  <a href="https://i.stack.imgur.com/noFgB.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/noFgB.png" alt="enter image description here"></a></p>
  
  <p>Does it exist any easy approach to fix it? And why I get 4 warning for single value after split command?</p>