Stop counting Exchange powershell results

Do you find yourself counting rows upon rows of results from your Exchange powershell commands?  You may not be aware that there is a count function built in and can be used to count all of the rows in the results window.  I suppose manually counting would be fine if there were a 5-10 lines but on larger results you may find your self counting for days.

The command is easy.  Just pipe | Measure-Object to the end of your command.  

Here is an example:  Get-Mailbox | Measure-Object

The output will be an easy to read table.  As you can see there are 42 results from the command I issued above.  




10 Signs Your IT Support
is Reactive, Not Proactive

Download our exclusive eBook to learn how your business can benefit from proactive IT support.