Enumerating errors in EMS - Exchange Management Shell

SamT 6 Reputation points
2021-04-15T16:40:52.97+00:00

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?

Exchange Server Management
Exchange Server Management
Exchange Server: A family of Microsoft client/server messaging and collaboration software.Management: The act or process of organizing, handling, directing or controlling something.
7,369 questions
Windows Server PowerShell
Windows Server PowerShell
Windows Server: A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.PowerShell: A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
5,389 questions
{count} votes