
If “true”, the contact will not appear on address lists in Exchange or Outlook. One additional field is “HideFromAddressLists”, which can be “true” or “false”. Most of the fields are self-explanatory and match the property names. The other fields can be left empty if not needed. Many of the properties of a contact are included, although only two are required: An example file is included in the solution files download. File formatĪ standard CSV file format is expected (a header row with column names, and a row for each record with values separated by commas). Below are some aspects of the functionality to be aware of.

This script creates mail contacts in Exchange (which are really objects in the associated Active Directory domain) from records in a comma-separated values format.

It can be useful in situations where you want to create contacts as a way to define safe senders to avoid spam filtering, or to provide external email addresses in the Outlook address list alongside internal organization users. This solution helps minimize the administration burden of importing a large number of mail contacts into Exchange and then cleaning them up later.
