If this parameter is
not used, the cmdlet executes against localhost.
SortOrder : Allows for manipulation of the result set. By setting a + or - in front of a property,
the property ??™ s values are sorted by ascending or descending order. If multiple properties are to
be sorted, separate each property with a comma.
??‘
??‘
??‘
??‘
??‘
??‘
??‘
??‘
??‘
Chapter 14: Troubleshooting Exchange Issues
417
In Figure 14 - 19 , the Get-Message is run against a remote server.
The filtering section may be a bit confusing at first, but it is similar to any other cmdlet that uses a
comparison to qualify the search and produce specific results. This script shows all messages on the local
server that are in a ready status and sorts them by size. The results are shown in Figure 14 - 20 . If you
e xecute the same script again and use format-list (|fl) you can see what the last error was and help
troubleshoot why these messages are still in queue.
Figure 14 - 21 shows using Format-List in more detail.
Tracking Messages
Every message that is routed through Exchange Server 2007 has the route it takes through the system
stored in a message tracking log. Tracking logs exist of Hub, Edge, and mailbox server. As a message
traverses the Exchange organization, each hop that it takes through a transport server is updated in a
message tracking log.
Pages:
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573