LockedHot!Add bulk mailboxes in Exchange Server

Author
Guest
Junior Member
  • Total Posts : 12
  • Reward points: 0
  • Status: online
2018/12/28 03:41:51 (permalink)

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

1 Reply Related Threads

    HC Team
    Hosting Controller
    • Total Posts : 7273
    • Reward points: 0
    • Joined: 2001/05/11 00:00:00
    • Location: Canada
    • Status: offline
    Re: Add bulk mailboxes in Exchange Server 2019/01/11 04:57:55 (permalink)
    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

    --------------------
    Regards
    HC Support Team
    www.HostingController.com
    Phone: +1 (647) 799-1000
    Fax: +1(604) 227-0273
    #2
    Jump to: