Pwershell script to import external contact in Exchange 2007-AD
Posted on 2011-04-28
I need a powershell script to import in my AD-Exchange 2007 an external contact.
i have a csv file in this form:
the script must:
1-use the csv file to create an external contact in a specific OU
2-The display name must be in this form: SMITH John (Atlanta) = sn givenname (physicalDeliveryOfficeName)
3- if i lunsh the script and the contact is already exist, the script must ignore it and continue the creation of external contact
4-after the execution of script, i need in the screen the number of added external contact and the number of ignored creation caused bye the existence of the external contact.
I am in Exchange 2007 SP3 CCR CLUSTER and AD in Windows 2008 SP2.
Very thanks if you can help me.