Exit from email hosting service for 1500 users, to on-premise Ex2013.
AD already local and users all have accounts.
Have a CSV with all data for each user.
Anyone care to share their favorite PowerShell to bulk create mailboxes, plus will populate the GAL with:
FirstName, LastName, HomePhone, MobilePhone, Phone, Company, Title, Department, Office
...and add an archive DB to the mbx.
I have several variations i'm trying such as:
$mailbox=import-csv C:\<filename>.CSV
ForEach ($mailbox in $mailbox) {Enable-Mailbox -Identity $Mailbox.Identity -Database $Mailbox.Database | Enable-Mailbox –Archive -ArchiveDatabase "<enter archive db name here>"}<o:p></o:p>
However want to do this all in one pass if possible, so need to finetune the PS.
(Also had a look at http://www.telnetport25.com/2012/11/ebuctexchange-2013-bulk-user-creation-tool/ which looks quite cool, but only creates a blank mbx).