{"id":712,"date":"2019-03-03T14:38:22","date_gmt":"2019-03-03T14:38:22","guid":{"rendered":"https:\/\/www.mozesoft.com\/blog\/?p=712"},"modified":"2019-03-03T14:38:39","modified_gmt":"2019-03-03T14:38:39","slug":"how-to-use-powershell-to-migrate-mailboxes-from-one-database-to-another-in-exchange-2013","status":"publish","type":"post","link":"https:\/\/www.mozesoft.com\/blog\/how-to-use-powershell-to-migrate-mailboxes-from-one-database-to-another-in-exchange-2013\/","title":{"rendered":"How to use PowerShell to migrate mailboxes from one database to another in Exchange 2013"},"content":{"rendered":"\n<p>Migrating\n Exchange mailboxes between databases is not your every-day task, and \nadministrators can therefore find themselves spending an inordinate \namount of time troubleshooting or re-distributing mailboxes across the \ndatabases. In this article, we will show you how to move mailboxes from \none database to another in Exchange 2013 using the Exchange PowerShell. \nFollowing these steps should hopefully allow you to spend less time and \nmake fewer mistakes when it comes to doing this task yourself.<\/p>\n\n\n\n<p><strong>Step 1 &#8211;&nbsp;Get the Mailbox Names<\/strong><\/p>\n\n\n\n<p>Open the Exchange Management Shell. Determine the \nnames of the databases so that they can be simply copied to the move \nmailbox command.<\/p>\n\n\n\n<p><em>Get-MailboxDatabase<\/em><\/p>\n\n\n\n<p><em>Get-Mailbox -Database Mailbox Database 2242144626\n -ResultSize Unlimited | New-MoveRequest -TargetDatabase Mailbox \nDatabase 1063240071<\/em><\/p>\n\n\n\n<p><strong>Step 2 &#8211;&nbsp;Move the User Mailboxes<\/strong><\/p>\n\n\n\n<p>After you run the New Move Request command, the \nmailboxes will be queued. This may take some time depending on the \nnumber of mailboxes involved.&nbsp;<\/p>\n\n\n\n<p><strong>Step 3 &#8211;&nbsp;Check the Progress of the User Mailbox Migration<\/strong><\/p>\n\n\n\n<p>The following command must be run to check the \nprogress of the migration. The below image shows a completed mailbox \nmove. The last column shows the percentage of completion, which in this \ncase is 100.<\/p>\n\n\n\n<p><em>Get-MoveRequestStatistics -MoveRequestQueue Mailbox Database 10632440071<\/em><\/p>\n\n\n\n<p><strong>Step 4 &#8211;&nbsp;Remove the Mailbox Move Request<\/strong><\/p>\n\n\n\n<p>After the mailbox move request is complete and all the mailboxes have\n been moved, run the following command to remove the mailbox move \nrequests.<\/p>\n\n\n\n<p><em>Get-MoveRequest | where {$_.status -eq \u201cCompleted\u201d} | Remove-MoveRequest<\/em><\/p>\n\n\n\n<p><strong>Step 5 &#8211;&nbsp;Arbitration and Archive Mailboxes<\/strong><\/p>\n\n\n\n<p>Even after the user mailboxes have been migrated, \nthere may still be Archive and Arbitration mailboxes in your database \nthat you also want to move. Run the following commands to locate these \nmailboxes in your database:<\/p>\n\n\n\n<p><em>Get-Mailbox -Database Mailbox Database 2242144626 \u2013Arbitration<\/em><\/p>\n\n\n\n<p><em>Get-Mailbox -Database Mailbox Database 2242144626 \u2013Archive<\/em><\/p>\n\n\n\n<p>Running these commands will show the names of the \narbitration and archive mailboxes in your database. If there are any \nsuch mailboxes, you can run the following commands to move them to the \nnew database:<\/p>\n\n\n\n<p><em>Get-Mailbox -Database Mailbox Database 2242144626 &nbsp;-Arbitration | New-MoveRequest -TargetDatabase Mailbox Database 1063240071<\/em><\/p>\n\n\n\n<p><em>Get-Mailbox -Database Mailbox Database 2242144626 -Archive | New-MoveRequest -TargetDatabase Mailbox Database 1063240071<\/em><\/p>\n\n\n\n<p>To monitor the progress of the mailbox move, use the following command:<\/p>\n\n\n\n<p><em>Get-MoveRequestStatistics -MoveRequestQueue Mailbox Database 10632440071<\/em><\/p>\n\n\n\n<p>After all the mailboxes have been moved, you can use the following command to clean up the mailbox move requests.<\/p>\n\n\n\n<p><em>Get-MoveRequest | where {$_.status -eq \u201cCompleted\u201d} | Remove-MoveRequest<\/em><\/p>\n\n\n\n<p>You can then use the Get-MoveRequest command to ensure that all move requests have been cleared before you run a new one.&nbsp;<\/p>\n\n\n\n<p><strong>Conclusion<\/strong><br> Before you attempt to move mailboxes from one database to another in  Exchange 2013 it would be wise to go over the steps laid out in this  article in detail. Without an in-depth knowledge of the process, the  migration can tend to be time consuming. If you\u2019re looking for an  altogether quicker and simpler method, Migrator for Exchange has proven to be both a powerful and cost-effective way of migrating mailboxes in Exchange 2013.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Migrating Exchange mailboxes between databases is not your every-day task, and administrators can therefore find themselves spending an inordinate amount of time troubleshooting or re-distributing mailboxes across the databases. In this article, we will show you how to move mailboxes from one database to another in Exchange 2013 using the Exchange PowerShell. Following these steps [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[],"class_list":["post-712","post","type-post","status-publish","format-standard","hentry","category-exchange-server"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.9 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>How to use PowerShell to migrate mailboxes from one database to another in Exchange 2013 - Blog<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.mozesoft.com\/blog\/how-to-use-powershell-to-migrate-mailboxes-from-one-database-to-another-in-exchange-2013\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to use PowerShell to migrate mailboxes from one database to another in Exchange 2013 - Blog\" \/>\n<meta property=\"og:description\" content=\"Migrating Exchange mailboxes between databases is not your every-day task, and administrators can therefore find themselves spending an inordinate amount of time troubleshooting or re-distributing mailboxes across the databases. In this article, we will show you how to move mailboxes from one database to another in Exchange 2013 using the Exchange PowerShell. Following these steps [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.mozesoft.com\/blog\/how-to-use-powershell-to-migrate-mailboxes-from-one-database-to-another-in-exchange-2013\/\" \/>\n<meta property=\"og:site_name\" content=\"Blog\" \/>\n<meta property=\"article:published_time\" content=\"2019-03-03T14:38:22+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2019-03-03T14:38:39+00:00\" \/>\n<meta name=\"author\" content=\"Adsank\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Adsank\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.mozesoft.com\/blog\/how-to-use-powershell-to-migrate-mailboxes-from-one-database-to-another-in-exchange-2013\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.mozesoft.com\/blog\/how-to-use-powershell-to-migrate-mailboxes-from-one-database-to-another-in-exchange-2013\/\"},\"author\":{\"name\":\"Adsank\",\"@id\":\"https:\/\/www.mozesoft.com\/blog\/#\/schema\/person\/79fc1ff8cfa9fe3f16bedffefc53359c\"},\"headline\":\"How to use PowerShell to migrate mailboxes from one database to another in Exchange 2013\",\"datePublished\":\"2019-03-03T14:38:22+00:00\",\"dateModified\":\"2019-03-03T14:38:39+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.mozesoft.com\/blog\/how-to-use-powershell-to-migrate-mailboxes-from-one-database-to-another-in-exchange-2013\/\"},\"wordCount\":495,\"articleSection\":[\"Exchange Server\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.mozesoft.com\/blog\/how-to-use-powershell-to-migrate-mailboxes-from-one-database-to-another-in-exchange-2013\/\",\"url\":\"https:\/\/www.mozesoft.com\/blog\/how-to-use-powershell-to-migrate-mailboxes-from-one-database-to-another-in-exchange-2013\/\",\"name\":\"How to use PowerShell to migrate mailboxes from one database to another in Exchange 2013 - Blog\",\"isPartOf\":{\"@id\":\"https:\/\/www.mozesoft.com\/blog\/#website\"},\"datePublished\":\"2019-03-03T14:38:22+00:00\",\"dateModified\":\"2019-03-03T14:38:39+00:00\",\"author\":{\"@id\":\"https:\/\/www.mozesoft.com\/blog\/#\/schema\/person\/79fc1ff8cfa9fe3f16bedffefc53359c\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.mozesoft.com\/blog\/how-to-use-powershell-to-migrate-mailboxes-from-one-database-to-another-in-exchange-2013\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.mozesoft.com\/blog\/how-to-use-powershell-to-migrate-mailboxes-from-one-database-to-another-in-exchange-2013\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.mozesoft.com\/blog\/how-to-use-powershell-to-migrate-mailboxes-from-one-database-to-another-in-exchange-2013\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.mozesoft.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to use PowerShell to migrate mailboxes from one database to another in Exchange 2013\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.mozesoft.com\/blog\/#website\",\"url\":\"https:\/\/www.mozesoft.com\/blog\/\",\"name\":\"Blog\",\"description\":\"IT Knowledgebase\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.mozesoft.com\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.mozesoft.com\/blog\/#\/schema\/person\/79fc1ff8cfa9fe3f16bedffefc53359c\",\"name\":\"Adsank\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.mozesoft.com\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/16e1b860aa1c6c11b188d686f734c33318307888d91fee8cd1550025f1c788a0?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/16e1b860aa1c6c11b188d686f734c33318307888d91fee8cd1550025f1c788a0?s=96&d=mm&r=g\",\"caption\":\"Adsank\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to use PowerShell to migrate mailboxes from one database to another in Exchange 2013 - Blog","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.mozesoft.com\/blog\/how-to-use-powershell-to-migrate-mailboxes-from-one-database-to-another-in-exchange-2013\/","og_locale":"en_US","og_type":"article","og_title":"How to use PowerShell to migrate mailboxes from one database to another in Exchange 2013 - Blog","og_description":"Migrating Exchange mailboxes between databases is not your every-day task, and administrators can therefore find themselves spending an inordinate amount of time troubleshooting or re-distributing mailboxes across the databases. In this article, we will show you how to move mailboxes from one database to another in Exchange 2013 using the Exchange PowerShell. Following these steps [&hellip;]","og_url":"https:\/\/www.mozesoft.com\/blog\/how-to-use-powershell-to-migrate-mailboxes-from-one-database-to-another-in-exchange-2013\/","og_site_name":"Blog","article_published_time":"2019-03-03T14:38:22+00:00","article_modified_time":"2019-03-03T14:38:39+00:00","author":"Adsank","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Adsank","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.mozesoft.com\/blog\/how-to-use-powershell-to-migrate-mailboxes-from-one-database-to-another-in-exchange-2013\/#article","isPartOf":{"@id":"https:\/\/www.mozesoft.com\/blog\/how-to-use-powershell-to-migrate-mailboxes-from-one-database-to-another-in-exchange-2013\/"},"author":{"name":"Adsank","@id":"https:\/\/www.mozesoft.com\/blog\/#\/schema\/person\/79fc1ff8cfa9fe3f16bedffefc53359c"},"headline":"How to use PowerShell to migrate mailboxes from one database to another in Exchange 2013","datePublished":"2019-03-03T14:38:22+00:00","dateModified":"2019-03-03T14:38:39+00:00","mainEntityOfPage":{"@id":"https:\/\/www.mozesoft.com\/blog\/how-to-use-powershell-to-migrate-mailboxes-from-one-database-to-another-in-exchange-2013\/"},"wordCount":495,"articleSection":["Exchange Server"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/www.mozesoft.com\/blog\/how-to-use-powershell-to-migrate-mailboxes-from-one-database-to-another-in-exchange-2013\/","url":"https:\/\/www.mozesoft.com\/blog\/how-to-use-powershell-to-migrate-mailboxes-from-one-database-to-another-in-exchange-2013\/","name":"How to use PowerShell to migrate mailboxes from one database to another in Exchange 2013 - Blog","isPartOf":{"@id":"https:\/\/www.mozesoft.com\/blog\/#website"},"datePublished":"2019-03-03T14:38:22+00:00","dateModified":"2019-03-03T14:38:39+00:00","author":{"@id":"https:\/\/www.mozesoft.com\/blog\/#\/schema\/person\/79fc1ff8cfa9fe3f16bedffefc53359c"},"breadcrumb":{"@id":"https:\/\/www.mozesoft.com\/blog\/how-to-use-powershell-to-migrate-mailboxes-from-one-database-to-another-in-exchange-2013\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.mozesoft.com\/blog\/how-to-use-powershell-to-migrate-mailboxes-from-one-database-to-another-in-exchange-2013\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.mozesoft.com\/blog\/how-to-use-powershell-to-migrate-mailboxes-from-one-database-to-another-in-exchange-2013\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.mozesoft.com\/blog\/"},{"@type":"ListItem","position":2,"name":"How to use PowerShell to migrate mailboxes from one database to another in Exchange 2013"}]},{"@type":"WebSite","@id":"https:\/\/www.mozesoft.com\/blog\/#website","url":"https:\/\/www.mozesoft.com\/blog\/","name":"Blog","description":"IT Knowledgebase","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.mozesoft.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/www.mozesoft.com\/blog\/#\/schema\/person\/79fc1ff8cfa9fe3f16bedffefc53359c","name":"Adsank","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.mozesoft.com\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/16e1b860aa1c6c11b188d686f734c33318307888d91fee8cd1550025f1c788a0?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/16e1b860aa1c6c11b188d686f734c33318307888d91fee8cd1550025f1c788a0?s=96&d=mm&r=g","caption":"Adsank"}}]}},"_links":{"self":[{"href":"https:\/\/www.mozesoft.com\/blog\/wp-json\/wp\/v2\/posts\/712","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.mozesoft.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.mozesoft.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.mozesoft.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.mozesoft.com\/blog\/wp-json\/wp\/v2\/comments?post=712"}],"version-history":[{"count":1,"href":"https:\/\/www.mozesoft.com\/blog\/wp-json\/wp\/v2\/posts\/712\/revisions"}],"predecessor-version":[{"id":713,"href":"https:\/\/www.mozesoft.com\/blog\/wp-json\/wp\/v2\/posts\/712\/revisions\/713"}],"wp:attachment":[{"href":"https:\/\/www.mozesoft.com\/blog\/wp-json\/wp\/v2\/media?parent=712"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.mozesoft.com\/blog\/wp-json\/wp\/v2\/categories?post=712"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.mozesoft.com\/blog\/wp-json\/wp\/v2\/tags?post=712"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}