I have attached a txt with 3 scripts for Exchange 2010 to check the queues.

These scripts are to check across multiple Tansport servers as I manage over 20 hub servers across multiple DC.

The first script does a Message Count and get any queues over "50".

The second queue checks the "NextHopDomain which means to check after the emails goes through the Pick up Directory  and knows where to send it.

The thrid script get a list of "Submission Queues" which can be helpful if you are having them.

The scripts can be used for Exchange 2007, 2013 and possibly 2016. HOwever the filter's may vary.