Enumerating errors in EMS - Exchange Management Shell
SamT
6
Reputation points
We have several malformed contacts in our GAL that generate a Warning when running get-mailcontact in the EMS. We would like to be able to get a count of the total number of contacts that have errors.
We have a large number of mail-contacts so casually browsing through the output of get-mailcontact is not practical. Additionally some of these contacts may generate 2-3 Warning messages for a single contact.
Any ideas on how to get a total count of the mail-contacts that generate a warning?