title: Select top 5 items from each group using PowerShell
body: <p>Is there any 1-2 lines solution to select the top five items from each group using PowerShell?</p>
  
  <p>For example, group processes returned by <a href="http://technet.microsoft.com/en-us/library/hh849832.aspx" rel="noreferrer">Get-Process</a> by name and see the first three wp3 processes.</p>
  
  <p>Of course I can iterate by each unique name, but I hope there is a shorter solution.</p>