Mailbox Creation
I have a windows 2003 domain with 130 users. I will be installing exchange server 2007 and want to know what is the best way to create mailboxes for all the users.
November 20th, 2009 11:01pm

Hi, There are various ways. You can export all the AD users info in some .csv file and then can use this CSV file to mail-enable all the users using Enable-Mailbox Powershell command in Exchange Management Shell. There are various examples available for this task. Plz search in google how to first export AD users info into a CSV File Have a look into thishttp://smtpport25.wordpress.com/2009/06/08/powershell-to-create-mass-mailboxes-in-exchange-2007-from-csv-input-file/ You will have to use Enable-Mailbox cmdlet instead of New-Mailbox for mail enabling existing AD users in Exchange 2007. Hope this helps. Regards,Laeeq Qazi|Snr Software Engineer(Exchange + Sharepoint + BES + DynamicsCRM) www.HostingController.com
Free Windows Admin Tool Kit Click here and download it now
November 20th, 2009 11:16pm

I'd do this:Get-User -Filter {RecipientType -eq "user"}|Select-Object samaccountname, displayname |Export-Csv c:\users.csv -NoTypeInformationThen, sanitize the c:\users.csv file to remove all users you don't want. Save the file, and do a :Import-Csv c:\users.csv | New-Mailbox -Database <database name>Note that the Import.... line is untested :)Karl
November 20th, 2009 11:18pm

Hi, [Quote] Import-Csv c:\users.csv | New-Mailbox -Database <database name>[/Quote] Karl for existing AD users Enable-Mailbox should be used. Regards, Laeeq Qazi|Snr Software Engineer(Exchange + Sharepoint + BES + DynamicsCRM) www.HostingController.com
Free Windows Admin Tool Kit Click here and download it now
November 20th, 2009 11:38pm

Karl for existing AD users Enable-Mailbox should be used. You are absolutly correct - I know that and knew something looked wrong ;)Karl
November 21st, 2009 1:20am

Hi This article is very good and wil satisfy your need. Exchange Server 2007: Bulk mailbox-enabling users using Exchange Shell http://exchangepedia.com/blog/2006/12/bulk-mailbox-enabling-users-exchange-shell.html Regards,Laeeq Qazi|Snr Software Engineer(Exchange + Sharepoint + BES + DynamicsCRM) www.HostingController.com
Free Windows Admin Tool Kit Click here and download it now
November 23rd, 2009 4:11pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics