re-home one user account in exchange 2013

Hi

I've got a group of exchange 2013 users working out of a dial-tone mailbox that we are likely going to keep using as the primary database.  I have the "old" exchange database mounted.  All users have been re-homed to new database (dial tone)

I would like to re-home just ONE user BACK to the original database but can't figure out how to do that.  the previous getmailbox command did all the users at once.

It would also be helpful to know if there is any way to export a mailbox on the OLD database to pst.  

thanks much!
markgal26Asked:
Who is Participating?
 
markgal26Author Commented:
this command worked perfectly for me:

Get-mailbox username | Set-Mailbox -Database databaseyouwanttorehometo
0
 
bigeven2002Commented:
Hello,
It's been a while since I've managed Exchange, but I don't know how to re-home accounts.  In Exchange Management Console, I believe the syntax for exporting a mailbox is like this:
New-MailboxExportRequest -Mailbox <user> -FilePath \\server\sharefolder\file.pst

Open in new window


As for the get-mailbox command to find one user, that would be something like this:
Get-Mailbox -Identity <value>

Open in new window


Value can be:
Alias
Distinguished name (DN)
GUID
Name
Display name
LegacyExchangeDN
Email address
0
 
markgal26Author Commented:
Thanks, I do know those basic commands. I'm looking specifically for the commands to specify one user for the rehome and to export from a specific database.
0
 
markgal26Author Commented:
I THINK this is the answer to one of my questions (rehoming)
still wondering about an export request command from the non-primary database..

--------------------------------

Gather mailbox database
Get-Mailbox <identity> | select MailboxDatabase

Rehome mailbox (set different database to mailbox)

Get-Mailbox <identity> | Set-Mailbox -Database <DB identity>
Get-mailbox x9xxxx | Set-Mailbox -Database MDB12

Confirm Rehoming mailbox "domain.local/Persons/Administrators/test/CZ/X9XXX" to database "MDB12". This operation will only modify the mailbox's Active Directory configuration. Be aware that the current mailbox content will become inaccessible to the user. [Y] Yes  [A] Yes to All  [N] No  [L] No to All  [?] Help (default is "Y"):
Use Clean-MailboxDatabase on old database to see the mailbox in disconnected mailboxes.

Get-MailboxDatabase <old MDB identity> | Clean-MailboxDatabase
Your old data will be removed according your Exchange configuration or you can force deletion by command Remove-StoreMailbox <your old data mailbox identity> as well described here:
http://technet.microsoft.com/en-us/library/gg181092(v=exchg.141).aspx

Your mailbox is clean.
0
 
markgal26Author Commented:
Answered my own main question.... and now that the mailbox is re-homed to the database I want, I can export the PST. still not sure on how to export from the database the user account was re-homed to.  Found answer on blog post referenced above
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.