Exchange 2010
How can I have AD automatically create mailboxes in exchange 2010 once the user is added to AD?
July 23rd, 2012 5:09pm
You can't. However if the AD user requires a mailbox why you you provision the AD account using Exchange mgmt so that the mailbox and AD account is created at the same time.
James Chong MCITP | EA | EMA; MCSE | M+, S+ Security+, Project+, ITIL msexchangetips.blogspot.com
Free Windows Admin Tool Kit Click here and download it now
July 23rd, 2012 7:02pm
You can you Exchange Management Shell to do this.
First you should set initial password and then create User/Mailbox in desired OU.
here is the command :
$password = Read-Host "Enter password" -AsSecureString
New-Mailbox -Name Test User -Database First Storage Group\Mailbox Database -Password $Password -UserPrincipalName TestUser@AIC.LAN -Alias TestUser -DisplayName Test User -FirstName Test -Initials TU -LastName User -OrganizationalUnit Users
July 24th, 2012 1:07am
You can write a script in powershell which will look for AD accounts without smtp address, if script will find account it should create a mailbox for this account.
Regards
Remigiusz
http://exchangeblog.pl
Free Windows Admin Tool Kit Click here and download it now
July 24th, 2012 2:11am
Hi,
Please refer to the article below:
Trouble creating user accounts and Exchange 2010 mailboxes quickly
http://community.spiceworks.com/topic/199319-trouble-creating-user-accounts-and-exchange-2010-mailboxes-quickly?page=1
Besides, you can try get-user | where {$_.recipienttype -eq "user"} |enable-mailboxXiu Zhang
TechNet Community Support
July 24th, 2012 5:21am