2018/12/28 03:41:51
Guest

Add bulk mailboxes in Exchange Server

HC Support team told me to ask below query on the forum, can someone please assist on it.
 
For my study and research purpose I need to add 5000 Mailboxes in Exchange 2013, please let me know how can I add them in bulk using powershell ?
1 comment Leave a comment
HC Team
You can use Hosting Controller Panel to create bulk mailboxes. But if you must have to create manually then use below Exchange PowerShell commands,
 
First run this command to apply password for newly added mailbox:
$Password=Read-Host “Enter Password” –AsSecureString
 
Execute this command to create mailboxes from CSV file, sample is added as an attachment
Import-CSV "c:\CreateMailboxes.csv" | ForEach {New-Mailbox -Alias $_.alias -Name $_.name -userPrincipalName $_.UPN -PrimarySMTPAddress $_.UPN -OrganizationalUnit "OU=TestDepartment,DC=ad10,DC=lab03,DC=com" -Password $Password}
 
Remember by adding mailbox manually will not apply any segregation and they will be listed to all users in GAL/AL
2019/01/11 04:57:55

Comments are closed.

© 2024 APG vNext Invalid Version 5.5