Looking for a faster way to create Mail Contacts in Exchange 2010
Hello, when I had Exchange 2003, I would use Active Directory to add email contacts, and it was quick and easy (right click, Exchange Tasks, New Mailbox, done).
But with 2010, I have to fire up the Exchange Management Console, and use the New Mail Contact "wizard" which takes way too long if I have to enter in more than 1 contact. And it doesn't even give me the option to modify fields like address or phone
numbers- I still have to go back to AD and add those in.
Isn't there a better way to add email contacts???
Thanks :)
Max
May 25th, 2010 3:49pm
Hello, when I had Exchange 2003, I would use Active Directory to add email contacts, and it was quick and easy (right click, Exchange Tasks, New Mailbox, done).
But with 2010, I have to fire up the Exchange Management Console, and use the New Mail Contact "wizard" which takes way too long if I have to enter in more than 1 contact. And it doesn't even give me the option to modify fields like address or phone numbers-
I still have to go back to AD and add those in.
Isn't there a better way to add email contacts???
Thanks :)
Max
There is much easier and faster way to create mail contacts in bulk using the Exchange Powershell commands like New-MailContact:
New-MailContact -Name "Chris Ashton" -ExternalEmailAddress "Chris@tailspintoys.com" -OrganizationalUnit "Marketing"
http://technet.microsoft.com/en-us/library/bb124519.aspx
After creating it you can call Set-MailContact
http://technet.microsoft.com/en-us/library/aa995950.aspx
You can have a CSV File where u can have Name,ExternalEmailAddress [or some other attributes]
and then can create all mail contacts using the CSV file like this
Import-CSV "C:\TestFile.csv" | Foreach{New-MailContact -Name $_.Name -ExternalEmailAddress $_.ExternalEmailAddress -OrganizationalUnit "Marketing"}
For setting address and phone numbers u will have to use
Set-Contact http://technet.microsoft.com/en-us/library/bb124535.aspx
Hope this help u.
Regards,
Laeeq Qazi|Team Lead(Exchange + Sharepoint + BES + DynamicsCRM)
www.HostingController.com
Free Windows Admin Tool Kit Click here and download it now
May 25th, 2010 4:04pm
Thanks for the reply. I have seen the powershell commands, but it seems that it still requires the same amount of time to do as with the wizard. I still would need to manually input -Name, First Name, Last Name, Alias, External Email, and OU for every single
mail contact. If the OU is different on the contacts, then I can't use a CSV, so I'd have to copy/paste every single line into the command shell.
Then, I'd still have to go back again and create a new command to add phone number, address, etc, for each contact.
It really seems that they made it much more difficult and time consuming :P
May 25th, 2010 4:35pm
no to exchange as explained above. I need to add multiple email addresses to each contact for example to contact1 I need to
joe@someone.com and
joe@someone.de
Free Windows Admin Tool Kit Click here and download it now
August 25th, 2012 2:11am
On Tue, 21 Aug 2012 06:28:10 +0000, CBrook1234 wrote:
>no to exchange as explained above.
Contact objects, mail-enabled or otherwise, are objects in the Active
Directory.
>I need to add multiple email addresses to each contact for example to contact1 I need to joe@someone.com and joe@someone.de
Then use the get-mailcontact and set-mailcontact. For example:
$a=(get-mailcontact aaaaa).emailaddresses
$a += 'x@x.y'
set-mailcontact aaaaa -emailaddresses $a
---
Rich Matheisen
MCSE+I, Exchange MVP
--- Rich Matheisen MCSE+I, Exchange MVP
August 25th, 2012 10:04am
I would like to add multiple external email addresses does anyone happen to know if this is possible through the shell and if so then how?
Free Windows Admin Tool Kit Click here and download it now
August 25th, 2012 11:18am
On Mon, 20 Aug 2012 15:28:23 +0000, CBrook1234 wrote:
>I would like to add multiple external email addresses does anyone happen to know if this is possible through the shell and if so then how?
Do you mean you want to add mail-enabled Contacts to the Active
Directory?
New-MailContact
Enable-MailContact
Set-MailContact
---
Rich Matheisen
MCSE+I, Exchange MVP
--- Rich Matheisen MCSE+I, Exchange MVP
August 25th, 2012 2:24pm