Bulk creation of Exchange accounts

Associate
Joined
23 May 2007
Posts
25
I am in need of creating around 150-160 email accounts in Exchange 2007 in one go. Any recommendations on the best way to go about this?

Could probably have the required information in a .csv file for importing etc.

Regards
 
They are for new users who have no accounts.

I've managed to create them using PowerShell but we use a different default email address policy - our email address is setup in Exchange to be [email protected] however the system is generating the usernames as [email protected] and I don't seem to be able to change this!

Am I missing something obvious?!
 
Sounds like your default address policy is not created or being applied in the correct order.

If these are existing AD accounts, just go into ESM and into Mailbox, new mailbox and it should pull up the list of all users that do not have an exising mailbox select them all next fill in the details.

Gives you very limited options but if your exchange platform is small an not complex might work out better for you.

Kimbie


Kimbie

They aren't existing users, I am creating them from scratch both in AD and assigning them email addresses.

I've been using the following command to create the mailboxes, but it's putting in the wrong email address (assuming as I'm using the UPN - I couldn't get it to work with the ExternalEmail aatribute..

Code:
Import-Csv C:\test.csv | foreach {New-Mailbox -Alias $_.alias -Name $_.Name -UserPrincipalName $_.UPN -Database "Standard Mailbox Database" -OrganizationalUnit Engineers -Password $Password}

Even if I re-apply our default email address policy template after creating the mailbox it still seems to be leaving the email address as [email protected] as opposed to [email protected] which is what I'm after!

Regards
 
Just as a follow up to this, I ended up using a utility called ANPC (Arposh New User Creation) to import a CSV file and create accounts and then just manually added them using the "New Mailbox" feature in Exchange.

All working as intended. Also found a handy utility called ADModify.net to make a few bulk changes.
 
Back
Top Bottom