Creates mail contacts from information stored in a comma-separated values file named Contacts.csv. This script/command requires Microsoft Exchange Server 2007.

Visual Basic
Edit|Remove
import-csv contacts.csv | foreach { new-mailcontact -alias $_.mailnickname -name $_.displayName -ExternalEmailAddress $_.targetaddress -org users }