{"id":973,"date":"2013-09-23T14:03:11","date_gmt":"2013-09-23T21:03:11","guid":{"rendered":"https:\/\/www.netometer.com\/blog\/?p=973"},"modified":"2025-10-21T17:46:09","modified_gmt":"2025-10-22T00:46:09","slug":"video-how-to-bulk-creat-mailboxes-in-exchange-2013","status":"publish","type":"post","link":"https:\/\/www.netometer.com\/blog\/?p=973","title":{"rendered":"Video: How to Bulk Create Mailboxes in Exchange 2013"},"content":{"rendered":"<p>&nbsp;<\/p>\n<div class=\"gk-legend\" data-style=\"style3\"><strong>Free Video :<\/strong><strong>Exchange 2013 Administration: How to Bulk Create Mailboxes in Exchange Management Shell<br \/>\n<\/strong><\/div>\n<p>Exchange 2013 Admin Center (EAC) is easily accessible, but it provides quite a limited set of management options when performing bulk actions.<\/p>\n<p>A typical example is creating multiple user mailboxes. Whether you have a list, provided by the HR department, or you are simply building a test lab, using Exchange Admin Center for this task is out of the question (unless you enjoy creating them one by one in EAC). Exchange Management Shell is the choice in this scenario &#8211; using a script or a heavy one-liner.<\/p>\n<p>In this video, we start from scratch, creating a CSV file from a list of names generated by Random Name Generator web site.<\/p>\n<p>Then, we discuss the details of our powershell script and how you can modify it according to your needs. Of course, you will see the script in action and the result of Exchange 2013 automatic mailbox distribution.<\/p>\n<p># Import data from the CSV file and store it in variable &#8220;$data&#8221;<br \/>\n$data = import-csv $args[0]<br \/>\n# Get the Active Directory FQDN of the current user<br \/>\n# You can specify it explicitly, if needed &#8211; ex. $FQDN = &#8220;netometer.local&#8221;<br \/>\n$FQDN = $env:userdnsdomain<br \/>\n# Cycle through each row from the CSV and feed the column values into variables<br \/>\n# We also encrypt the password, as the &#8220;New-Mailbox&#8221; command does\u00a0 not accept plain text value<br \/>\nforeach ($i in $data)<br \/>\n{<br \/>\n$first = $i.First<br \/>\n$last = $i.Last<br \/>\n$name = $i.First + &#8216; &#8216; + $i.Last<br \/>\n$alias = $i.First[0] + $i.Last<br \/>\n$upn = $alias + &#8220;@&#8221; + $FQDN<br \/>\n$ou = $i.ou<br \/>\n$encryptedpass = ConvertTo-SecureString -AsPlainText $i.Password -Force<br \/>\n$resetpass = $false<br \/>\nnew-mailbox -Firstname $first -LastName $last -Name $name -UserPrincipalName $upn -OrganizationalUnit $ou -Password $encryptedpass -ResetPasswordOnNextLogon $resetpass<br \/>\n}<\/p>\n<p>You can download the\u00a0[tip label=&#8221;script&#8221; style=&#8221;1&#8243; href=&#8221;https:\/\/www.netometer.com\/downloads\/powershell\/bulk-create-mbx.ps1&#8243;]bulk-create-mbx.ps1 <img decoding=\"async\" alt=\"How to Bulk Create Mailboxes in Exchange 2013\" src=\"https:\/\/www.netometer.com\/blog\/wp-content\/uploads\/script-icon.jpg\" width=\"25\" height=\"27\" \/>[\/tip] and [tip label=&#8221;CSV file&#8221; style=&#8221;1&#8243; href=&#8221;https:\/\/www.netometer.com\/downloads\/powershell\/NetoMeter.csv&#8221;]NetoMeter.csv\u00a0 <img decoding=\"async\" alt=\"How to Bulk Create Mailboxes in Exchange 2013\" src=\"https:\/\/www.netometer.com\/blog\/wp-content\/uploads\/csv-icon.jpg\" width=\"25\" height=\"28\" \/>[\/tip] that we are using in the demo.<\/p>\n<p>[raw]In the following short video <img decoding=\"async\" alt=\"How to Bulk Create Mailboxes in Exchange 2013\" src=\"https:\/\/www.netometer.com\/blog\/wp-content\/uploads\/video-icon.png\" width=\"25\" height=\"21\" \/>, we demonstrate how to bulk create mailboxes in Exchange 2013 with <a class=\"gk-tooltip\" href=\"https:\/\/www.netometer.com\/downloads\/powershell\/bulk-create-mbx.ps1\" data-style=\"style1\">this powershell script<dfn>bulk-create-mbx.ps1<\/dfn><\/a>.[\/raw]<br \/>\n<a class=\"twitter-hashtag-button\" title=\"Exchange 2013\" href=\"https:\/\/twitter.com\/intent\/tweet?button_hashtag=Exchange2013\">Tweet #Exchange2013<\/a> <a class=\"twitter-follow-button\" href=\"https:\/\/twitter.com\/netometer\" data-show-count=\"false\">Follow @netometer<\/a><\/p>\n<div id=\"kgvid_kgvid_0_wrapper\" class=\"kgvid_wrapper\">\n\t\t\t<div id=\"video_kgvid_0_div\" class=\"fitvidsignore kgvid_videodiv\" data-id=\"kgvid_0\" data-kgvid_video_vars=\"{&quot;id&quot;:&quot;kgvid_0&quot;,&quot;attachment_id&quot;:984,&quot;player_type&quot;:&quot;Video.js v8&quot;,&quot;width&quot;:&quot;800&quot;,&quot;height&quot;:&quot;600&quot;,&quot;fullwidth&quot;:&quot;false&quot;,&quot;fixed_aspect&quot;:&quot;false&quot;,&quot;countable&quot;:true,&quot;count_views&quot;:&quot;quarters&quot;,&quot;start&quot;:&quot;&quot;,&quot;autoplay&quot;:&quot;false&quot;,&quot;pauseothervideos&quot;:&quot;false&quot;,&quot;set_volume&quot;:&quot;1&quot;,&quot;muted&quot;:&quot;false&quot;,&quot;meta&quot;:true,&quot;endofvideooverlay&quot;:&quot;&quot;,&quot;resize&quot;:&quot;true&quot;,&quot;auto_res&quot;:&quot;automatic&quot;,&quot;pixel_ratio&quot;:&quot;true&quot;,&quot;right_click&quot;:&quot;on&quot;,&quot;playback_rate&quot;:&quot;false&quot;,&quot;title&quot;:&quot;Bulk-Create-Users-in-Exchange-2013&quot;,&quot;skip_buttons&quot;:[],&quot;nativecontrolsfortouch&quot;:&quot;true&quot;,&quot;locale&quot;:&quot;en&quot;,&quot;enable_resolutions_plugin&quot;:false}\" itemprop=\"video\" itemscope itemtype=\"https:\/\/schema.org\/VideoObject\"><meta itemprop=\"thumbnailUrl\" content=\"https:\/\/www.netometer.com\/blog\/wp-content\/uploads\/Bulk-Create-Exchange-2013-Mailboxes.png\"><meta itemprop=\"embedUrl\" content=\"https:\/\/www.netometer.com\/blog\/wp-content\/uploads\/Bulk-Create-Users-in-Exchange-2013.mp4\"><meta itemprop=\"contentUrl\" content=\"https:\/\/www.netometer.com\/blog\/wp-content\/uploads\/Bulk-Create-Users-in-Exchange-2013.mp4\"><meta itemprop=\"name\" content=\"Bulk-Create-Users-in-Exchange-2013\"><meta itemprop=\"description\" content=\"Video: How to Bulk Create User Mailboxes in Exchange 2013 (EMS)\"><meta itemprop=\"uploadDate\" content=\"2013-09-23T13:52:05-07:00\">\n\t\t\t\t<video id=\"video_kgvid_0\" playsinline controls preload=\"metadata\" poster=\"https:\/\/www.netometer.com\/blog\/wp-content\/uploads\/Bulk-Create-Exchange-2013-Mailboxes.png\" width=\"800\" height=\"600\" class=\"fitvidsignore video-js kg-video-js-skin\">\n\t\t\t\t\t<source src=\"https:\/\/www.netometer.com\/blog\/wp-content\/uploads\/Bulk-Create-Users-in-Exchange-2013.mp4?id=0\" type=\"video\/mp4\" data-res=\"600p\">\n\t\t\t\t<\/video>\n\t\t\t<\/div>\n\t\t\t<div style=\"display:none\" id=\"video_kgvid_0_meta\" class=\"kgvid_video_meta kgvid_video_meta_hover \">\n\t\t\t\t<span class='kgvid_meta_icons'><\/span>\n\t\t\t\t<span id='video_kgvid_0_title' class='kgvid_title'>Bulk-Create-Users-in-Exchange-2013<\/span>\n<\/div>\n\t\t<\/div>\n<ul data-style=\"style5\">\n<li><a title=\"How to Exclude Mailboxes from Automatic Mailbox Distribution in Exchange 2013\" href=\"https:\/\/www.netometer.com\/blog\/?p=1013\" target=\"_blank\" rel=\"noopener\">How to Exclude Mailboxes from Automatic Mailbox Distribution in Exchange 2013<\/a><\/li>\n<li><a title=\"How to Install Exchange 2013\" href=\"https:\/\/www.netometer.com\/video\/tutorials\/How-to-Install-Exchange-2013\" target=\"_blank\" rel=\"noopener\">How to Install Exchange 2013<\/a><\/li>\n<li><a title=\"Configure Outlook Anywhere in Exchange 2007\" href=\"https:\/\/www.netometer.com\/video\/tutorials\/windows-2008-how-to-configure-outlook-anywhere-exchange-2007\" target=\"_blank\" rel=\"noopener\">How to Configure Outlook Anywhere in Exchange Server 2007<\/a><\/li>\n<li><a title=\"How to Install WordPress on Windows Server 2012\" href=\"https:\/\/www.netometer.com\/blog\/?p=1029\" target=\"_blank\" rel=\"noopener\">How to Install WordPress on Windows Server 2012<\/a><\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>In the following short video How to Bulk Create Mailboxes in Exchange 2013, we demonstrate how to bulk create mailboxes in Exchange 2013 with this powershell script.<\/p>\n","protected":false},"author":1,"featured_media":983,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_sitemap_exclude":false,"_sitemap_priority":"","_sitemap_frequency":"","footnotes":""},"categories":[357,343],"tags":[370,369,358],"_links":{"self":[{"href":"https:\/\/www.netometer.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/973"}],"collection":[{"href":"https:\/\/www.netometer.com\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.netometer.com\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.netometer.com\/blog\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.netometer.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=973"}],"version-history":[{"count":0,"href":"https:\/\/www.netometer.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/973\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.netometer.com\/blog\/index.php?rest_route=\/wp\/v2\/media\/983"}],"wp:attachment":[{"href":"https:\/\/www.netometer.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=973"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.netometer.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=973"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.netometer.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=973"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}