Get-Queue will inform the status of emails queues in Server, if you find some queues increasing in queue viewer and you want to quickly find the reason for the queue build up, you can use the below shell command
Get-Queue -Identity "ServerName\QueueName" | FL Identity, MessageCount, NextHopDomain, LastError, LastRetryTime, NextRetryTimeQueue viewer will show the output on why the emails are in queue, you can check the reason from the LASTERROR parameter Below a sample output of the above shell command. Above shell command can be used in Exchange Server 2010 and Exchange Server 2013
No comments:
Post a Comment