When you query the Exchange Message Tracking class, the only way to return the correct results is to use the
where not <property> = <value> query. Any other valid operators do not return any results. There are several different valid operators for the following queries:
!=
<>
where not <property> = <value>
For example, if you use the WMI Tester tool
wbemtest to submit the following queries, the queries do not return any results:
select * from exchange_messagetrackingentry where entrytype != 1028
select * from exchange_messagetrackingentry where entrytype <>1028
The following query is the only query that uses one of the 3 previous operators that returns the correct results:
select * from exchange_messagetrackingentry where not entrytype = 1028
Note These queries can also be executed programmatically, and are not limited to
wbemtest.