$mailbox=import-csv C:\Scripts\PowerShell\users.csv
ForEach ($mailbox in $mailbox) {Enable-Mailbox -Identity $Mailbox.Identity -Database $Mailbox.Database}
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
Import-Csv C:\test.csv | foreach {New-Mailbox -Alias $_.alias -Name $_.Name -UserPrincipalName $_.UPN -Database "Standard Mailbox Database" -OrganizationalUnit Engineers -Password $Password}