Help with Exchange powershell cmdlets
I had some questions on Exchange Powershell commands and was hoping an expert could assist. These are all based on situations I have been in. i. If we're having problems with Exchange, then run a powershell command to test their service health, but for Exchange servers starting with emea (e.g. emeaexch1, emeaexch2) etc. ii. Same as above, but also including those starting with apac iii. Get a list of mailbox servers with submission queues greater than 20 iv. Number of messages queued to a certain domain or recipient Also, when viewing Hub Transport queues, is it possible to view in the same pane? Hopefully someone can help me out here!
January 22nd, 2011 7:26am

I had some questions on Exchange Powershell commands and was hoping an expert could assist. These are all based on situations I have been in. i. If we're having problems with Exchange, then run a powershell command to test their service health, but for Exchange servers starting with emea (e.g. emeaexch1, emeaexch2) etc. Get-ExchangeServer emea* | Test-ServiceHealth ii. Same as above, but also including those starting with apac Get-ExchangeServer apac* | Test-ServiceHealth iii. Get a list of mailbox servers with submission queues greater than 20 (You mean Transport Server?): Get-TransportServer | Get-Queue -Filter { (NextHopDomain -eq "submission") -and (MessageCount -gt 20) } iv. Number of messages queued to a certain domain or recipient Get-TransportServer | Get-Queue -Filter { (NextHopDomain -eq "domain.com") } Also, when viewing Hub Transport queues, is it possible to view in the same pane? In EMC? Not that I’m aware of. Hopefully someone can help me out here! Mike Crowley Check out My Blog!
Free Windows Admin Tool Kit Click here and download it now
January 23rd, 2011 12:56pm

Thanks Mike, very much what I was looking for. I did have one further point - the submission queue commands...does that apply for messages from Hub Transports due to be delivered to Mailbox servers, or Hub-Hub message queues?
January 25th, 2011 2:25pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics