{"id":371,"date":"2012-02-18T03:05:05","date_gmt":"2012-02-18T03:05:05","guid":{"rendered":"https:\/\/pipe2text.com\/?page_id=371"},"modified":"2012-02-18T03:16:50","modified_gmt":"2012-02-18T03:16:50","slug":"how-to-convert-a-mail-enabled-user-to-a-mailbox-enabled-user-in-exchange-2010-using-powershell","status":"publish","type":"page","link":"https:\/\/pipe2text.com\/?page_id=371","title":{"rendered":"How to Convert a mail enabled user to a mailbox enabled user in Exchange 2010 using PowerShell"},"content":{"rendered":"<p>Hi All,<\/p>\n<p>There may be times when you have users in your environment that have Active Directory accounts to log on to the domain but their email accounts are hosted outside your Exchange environment.\u00a0In order to have these people visible in the Global Address book they are configured as a Mail-Enabled users. What this means is they do not have a mailbox in your Exchange org but their Active Directory account is configured with an external email address\u00a0and users in your org can use the Global Address list to send them emails. For example Joe Testuser is a\u00a0consultant for Pipe2Text.com and is not an actually employee of the company. He has a gmail account he likes to use for his email.\u00a0He does not have a mailbox in the Pipe2Text Exchange Org but users internal can find him in the Global Address list and use this to email his gmail account. Now lets say the people at PipeText.com come to really like Joe TestUser and they decide to hire him as an actual employee which means he will receive an internally hosted mailbox in the Pipe2Text Exchange Org. He already has an Active Directory which has certain permissions to resources in the Domain that\u00a0will be gone if\u00a0you delete his account and start over by creating a new AD account with a mailbox.\u00a0What you need to do is convert his\u00a0Mail-Enabled user account into a Mailbox-Enabled account. This can be done easily from the Exchange Management Shell.<\/p>\n<p>First you will want to get the name property for Joe Testuser&#8217;s Mail-Enabled account. If you simply type the following command you will receive a list of all Mail-Enabled users:<\/p>\n<p>Get-MailUser<\/p>\n<p>Depending on your environment, this may yield a large list of users. If you were looking for Joe Testuser specifically and weren&#8217;t exactly sure\u00a0how his name property was presented, you could type the command below to bring up all Mail-Enabled users\u00a0containing the word Joe:<\/p>\n<p>Get-Mailuser *Joe*<\/p>\n<p>The output will look as follows:<\/p>\n<p>Name\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 RecipientType<br \/>\n\u00a0 &#8212;-\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 \u00a0&#8212;&#8212;&#8212;&#8212;-<br \/>\nJoe TestUser\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0MailUser<\/p>\n<p>Now that you have the name (in our case Joe Testuser)\u00a0you can use it to type the\u00a0following command to convert the Mail-Enabled user to a Mailbox-Enabled user and creating the mailbox for them\u00a0in an Exchange database\u00a0named &#8220;EXCHDB01&#8221;:<\/p>\n<p>Get-Mailuser &#8220;Joe TestUser&#8221; | Enable-Mailbox -Database EXCHDB01<\/p>\n<p>The output should look similar to the following:<\/p>\n<p>Name\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 Alias\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 ServerName\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 ProhibitSendQuota<br \/>\n\u00a0\u00a0&#8212;-\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 \u00a0&#8212;&#8211;\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 &#8212;&#8212;&#8212;&#8211;\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;<br \/>\nJoe TestUser\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0Jtestuser\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0mailserv01\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0unlimited<\/p>\n<p>Now that the mailbox has been created you can go into the Exchange Management console or Type &#8220;<strong>Get-Mailbox Jtestuser | FL<\/strong>&#8221;\u00a0to\u00a0review the properties of the user.\u00a0\u00a0After reviewing the new mailbox you can\u00a0do any cleanup as necessary such as removing the external email address that is leftover or possibly changing some other property to comply with your environments standards before you the user begins using the mailbox. If you would like to find out what else can be achieved using the Enable-Mailbox cmdlet you can check help by typing &#8220;Get-Help Enable-Mailbox&#8221;. As always, using a lab environment is the safest way to test and learn\u00a0these commands before using them in a production environment. Hope this helps. If you have any questions or feedback please leave a comment.<!-- END entry --><\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Hi All, There may be times when you have users in your environment that have Active Directory accounts to log on to the domain but their email accounts are hosted outside your Exchange environment.\u00a0In order to have these people visible &hellip; <a href=\"https:\/\/pipe2text.com\/?page_id=371\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"open","ping_status":"open","template":"","meta":{"_coblocks_attr":"","_coblocks_dimensions":"","_coblocks_responsive_height":"","_coblocks_accordion_ie_support":"","footnotes":""},"class_list":["post-371","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/pipe2text.com\/index.php?rest_route=\/wp\/v2\/pages\/371","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/pipe2text.com\/index.php?rest_route=\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/pipe2text.com\/index.php?rest_route=\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/pipe2text.com\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/pipe2text.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=371"}],"version-history":[{"count":20,"href":"https:\/\/pipe2text.com\/index.php?rest_route=\/wp\/v2\/pages\/371\/revisions"}],"predecessor-version":[{"id":384,"href":"https:\/\/pipe2text.com\/index.php?rest_route=\/wp\/v2\/pages\/371\/revisions\/384"}],"wp:attachment":[{"href":"https:\/\/pipe2text.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=371"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}